diff --git a/app/views/topics/_comments.html.erb b/app/views/topics/_comments.html.erb index abcaba601..46c31c727 100644 --- a/app/views/topics/_comments.html.erb +++ b/app/views/topics/_comments.html.erb @@ -4,14 +4,15 @@
<%= render "shared/wide_order_selector", i18n_namespace: "comments" %> - <%= render "comments/comment_list", comments: @comment_tree.root_comments %> - <%= paginate @comment_tree.root_comments %> - <% if user_signed_in? %> <%= render "comments/form", { commentable: @topic, parent_id: nil } %> <% else %> +
<%= render "shared/login_to_comment" %> <% end %> + + <%= render "comments/comment_list", comments: @comment_tree.root_comments %> + <%= paginate @comment_tree.root_comments %>
<% end %>