Adds styles for associations comments

This commit is contained in:
Alberto Garcia Cabeza
2015-08-18 17:01:48 +02:00
committed by Juanjo Bazán
parent 87d921b3c7
commit 04db8112b4
8 changed files with 27 additions and 15 deletions

View File

@@ -10,7 +10,6 @@
<% end %>
<% end %>
<h1><%= @debate.title %></h1>
<div class="debate-info">
@@ -63,13 +62,10 @@
<h2>
<%= t("debates.show.comments_title") %>
<span>(<%= t("debates.show.comments", count: @debate.comment_threads.count) %>)</span>
<span>(<%= @debate.comment_threads.count %>)</span>
</h2>
<% if user_signed_in? %>
<div>
<%= t("debates.show.leave_comment") %>
<%= render 'comments/form', {parent: @debate, toggeable: false} %>
</div>
<% end %>
<%= render @comments %>