Modifies debates show

This commit is contained in:
Alberto García Cabeza
2015-07-26 23:14:29 +02:00
parent 0bb0785f99
commit 20a762e556

View File

@@ -1,11 +1,13 @@
<span id="debate-<%= @debate.id %>" style="width:70%; float:left"> <article>
<p><%= @debate.title %></p> <div class="row">
<p><%= @debate.description %></p> <div id="debate-<%= @debate.id %>" class="small-12 medium-2 large-4 colum">
<p> <h3><%= @debate.title %></h3>
Creado el: <%= l @debate.created_at.to_date %> <p><%= @debate.description %></p>
por: <%= @debate.author.name %> <p>
</p> Creado el: <%= l @debate.created_at.to_date %>
</span> por: <%= @debate.author.name %>
</p>
</div>
<span style="width:30%;float:left"> <span style="width:30%;float:left">
<div id='in_favor'> <div id='in_favor'>
@@ -39,3 +41,4 @@
<%= link_to 'Edit', edit_debate_path(@debate) %> | <%= link_to 'Edit', edit_debate_path(@debate) %> |
<% end %> <% end %>
<%= link_to 'Back', debates_path %> <%= link_to 'Back', debates_path %>
</article>