Adds Ballot Sheet model and business logic

This commit is contained in:
María Checa
2018-06-21 22:34:54 +02:00
committed by Javi Martín
parent ccf8d3a8e2
commit 394177213c
18 changed files with 294 additions and 115 deletions

View File

@@ -20,6 +20,7 @@ en:
see_ballot_sheets: See ballot sheets list
index:
title: "%{poll_budget} - Ballot sheets list"
ballot_sheet: "Ballot sheet %{id}"
ballot_sheet_name: Name
ballot_sheet_author: Author
ballot_sheet_creation_date: Creation date
@@ -30,6 +31,10 @@ en:
select_booth: Select booth
csv_data: CSV data
submit: Save
show:
created_at: Creation date
author: Author
data: CSV data
booth:
new:
title: "Choose your booth"

View File

@@ -20,6 +20,7 @@ es:
see_ballot_sheets: Ver lista de papeletas de votación
index:
title: "%{poll_budget} - Listado de papeletas de votación"
ballot_sheet: "Papeleta de votación %{id}"
ballot_sheet_name: Nombre
ballot_sheet_author: Autor
ballot_sheet_creation_date: Fecha de creación
@@ -30,6 +31,10 @@ es:
select_booth: Elegir urna
csv_data: Datos de CSV
submit: Guardar
show:
created_at: Fecha de creación
author: Autor
data: Datos de CSV
booth:
new:
title: "Escoge tu urna"