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>
|
||||
@@ -179,6 +179,15 @@ en:
|
||||
booths_title: "List of booths"
|
||||
name: "Name"
|
||||
location: "Location"
|
||||
booths:
|
||||
index:
|
||||
title: "List of booths"
|
||||
select_poll: "Select a poll"
|
||||
title_list: "List of booths of poll %{poll}"
|
||||
no_booths: "There is no booths in this poll."
|
||||
name: "Name"
|
||||
location: "Location"
|
||||
add_officer: "Add officer"
|
||||
officials:
|
||||
edit:
|
||||
destroy: Remove 'Official' status
|
||||
|
||||
@@ -179,6 +179,15 @@ es:
|
||||
booths_title: "Listado de urnas"
|
||||
name: "Nombre"
|
||||
location: "Ubicación"
|
||||
booths:
|
||||
index:
|
||||
title: "Lista de urnas"
|
||||
select_poll: "Selecciona una votación"
|
||||
title_list: "Lista de urnas de la votación %{poll}"
|
||||
no_booths: "No hay urnas en esta votación."
|
||||
name: "Nombre"
|
||||
location: "Ubicación"
|
||||
add_officer: "Añadir presidente"
|
||||
officials:
|
||||
edit:
|
||||
destroy: Eliminar condición de 'Cargo Público'
|
||||
|
||||
Reference in New Issue
Block a user