adds dates on polls index

This commit is contained in:
Alberto Garcia Cabeza
2016-12-16 14:02:03 +01:00
parent ad8b373340
commit 0ddf7a003c
4 changed files with 4 additions and 5 deletions

View File

@@ -5,8 +5,7 @@
</strong>
</td>
<td>
Próximamente <!-- Estado: Activa, Próximamente o Archivada -->
<br>(<small>15/12/2016 - 15/02/2017</small>)
<%= l poll.starts_at.to_date %> - <%= l poll.ends_at.to_date %>
</td>
<td class="text-right">
<%= link_to t("admin.actions.edit"),

View File

@@ -8,7 +8,7 @@
<table>
<thead>
<th><%= t("admin.polls.index.name") %></th>
<th><%= t("admin.polls.index.status") %></th>
<th><%= t("admin.polls.index.dates") %></th>
<th>&nbsp;</th>
</thead>
<tbody>