Adds booths index content
This commit is contained in:
committed by
kikito
parent
5d2a9bead3
commit
faecb51054
@@ -1 +1,44 @@
|
||||
booth index
|
||||
<h2><%= t("admin.booths.index.title") %></h2>
|
||||
|
||||
<form>
|
||||
<div class="small-12 medium-6">
|
||||
<select>
|
||||
<option><%= t("admin.booths.index.select_poll") %></option>
|
||||
</select>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<h3><%= t("admin.booths.index.title_list") %></h3>
|
||||
|
||||
<!-- If booths of this poll == 0 -->
|
||||
<div class="callout primary">
|
||||
<%= t("admin.booths.index.no_booths") %>
|
||||
</div>
|
||||
|
||||
<!-- else -->
|
||||
|
||||
<table>
|
||||
<thead>
|
||||
<th><%= t("admin.booths.index.name") %></th>
|
||||
<th><%= t("admin.booths.index.location") %></th>
|
||||
<th> </th>
|
||||
</thead>
|
||||
<tbody>
|
||||
<!-- @polls.each do |poll| -->
|
||||
<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"), "/edit", class: "button hollow" %>
|
||||
<%= link_to t("admin.booths.index.add_officer"), "/edit", class: "button success" %>
|
||||
</td>
|
||||
</tr>
|
||||
<!-- end -->
|
||||
</tbody>
|
||||
</table>
|
||||
Reference in New Issue
Block a user