20 lines
488 B
Plaintext
20 lines
488 B
Plaintext
<div id="debate-<%= @debate.id %>">
|
|
<p><%= @debate.title %></p>
|
|
<p><%= @debate.description %></p>
|
|
<p>
|
|
Creado el: <%= l @debate.created_at.to_date %>
|
|
por: <%= @debate.author.name %>
|
|
</p>
|
|
</div>
|
|
|
|
Deja tu comentario
|
|
<%= render 'comments/form', parent: @debate %>
|
|
|
|
<div id="comments" style="padding-top:20px">
|
|
<h2>Comentarios</h2>
|
|
<%= render @debate.root_comments %>
|
|
</div>
|
|
|
|
<br/><br/>
|
|
<%= link_to 'Edit', edit_debate_path(@debate) %> |
|
|
<%= link_to 'Back', debates_path %> |