diff --git a/priv/templates/http/chats.eex b/priv/templates/http/chats.eex index 5c48098..141185c 100644 --- a/priv/templates/http/chats.eex +++ b/priv/templates/http/chats.eex @@ -11,11 +11,9 @@ <%= if length(chat.tags) > 0 do %> -

- <%= for tag <- chat.tags do %> - <%= tag %> - <% end %> -

+ <%= for tag <- chat.tags do %> + <%= tag %> + <% end %> <% end %> diff --git a/priv/templates/http/user.eex b/priv/templates/http/user.eex index a833692..b62f19d 100644 --- a/priv/templates/http/user.eex +++ b/priv/templates/http/user.eex @@ -74,6 +74,12 @@
<%= chat.num_messages %> message(s) - <%= DateTime.to_iso8601(chat.latest_message) %>
+ + <%= if length(chat.tags) > 0 do %> + <%= for tag <- chat.tags do %> + <%= tag %> + <% end %> + <% end %> <% end %>