Adds content to edit and show views
This commit is contained in:
committed by
kikito
parent
2acd1a69cd
commit
7b24e73999
@@ -1 +1,41 @@
|
||||
poll show
|
||||
<%= render "shared/back_link" %>
|
||||
<div class="clear"></div>
|
||||
|
||||
<h2 class="inline-block">Votación de propuestas 2016</h2>
|
||||
<%= link_to t("admin.actions.edit"), "#", class: "button hollow float-right" %>
|
||||
<p>(REFNUM)</p>
|
||||
<p>Próximamente <small>(15/12/2016 - 15/02/2017)</small></p>
|
||||
<%= link_to t("admin.polls.show.add_booth"), "#", class: "button success" %>
|
||||
|
||||
<!-- If booth in this poll == 0 -->
|
||||
<div class="callout primary">
|
||||
<%= t("admin.polls.show.no_booths") %>
|
||||
</div>
|
||||
<!-- else -->
|
||||
|
||||
<h2><%= t("admin.polls.show.booths_title") %></h2>
|
||||
|
||||
<table>
|
||||
<thead>
|
||||
<th><%= t("admin.polls.show.name") %></th>
|
||||
<th><%= t("admin.polls.show.location") %></th>
|
||||
<th> </th>
|
||||
</thead>
|
||||
<tbody>
|
||||
<!-- @booths.each do |booth| -->
|
||||
<tr>
|
||||
<td>
|
||||
<strong>
|
||||
<%= link_to "Urna Moncloa (REFNUM)", "#" %>
|
||||
</strong>
|
||||
</td>
|
||||
<td>
|
||||
C/ Isaac Peral, 25. 28003, Madrid
|
||||
</td>
|
||||
<td class="text-right">
|
||||
<%= link_to t("admin.actions.edit"), "#", class: "button hollow" %>
|
||||
</td>
|
||||
</tr>
|
||||
<!-- end -->
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user