<%= t("debates.show.comments_title") %> (<%= @debate.comments_count %>)

<% if user_signed_in? %> <%= render 'comments/form', {commentable: @debate, parent_id: nil, toggeable: false} %> <% else %>
<%= t("debates.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 %>
<% end %> <% @root_comments.each do |comment| %> <%= render 'comments/comment', comment: comment %> <% end %> <%= paginate @root_comments %>