improves html markup on communities and topics views

This commit is contained in:
decabeza
2017-09-21 17:35:21 +02:00
parent 7fa21afa56
commit c887cb7366
9 changed files with 77 additions and 72 deletions

View File

@@ -13,12 +13,12 @@
<% if user_signed_in? %>
<%= render 'comments/form', {commentable: @topic, parent_id: nil, toggeable: false} %>
<% else %>
<br>
<div data-alert class="callout primary">
<%= t("topics.show.login_to_comment",
signin: link_to(t("votes.signin"), new_user_session_path),
signup: link_to(t("votes.signup"), new_user_registration_path)).html_safe %>
</div>
</div>
<% end %>
</div>