adds complete Booth management to admin
This commit is contained in:
@@ -202,23 +202,18 @@ en:
|
||||
booths:
|
||||
index:
|
||||
title: "List of booths"
|
||||
select_poll: "Select a poll"
|
||||
title_list: "List of booths of poll %{poll}"
|
||||
no_booths: "There are no booths in this poll."
|
||||
no_booths: "There are no booths."
|
||||
add_booth: "Add booth"
|
||||
name: "Name"
|
||||
location: "Location"
|
||||
officers: "Officers"
|
||||
new:
|
||||
title: "Poll %{poll}"
|
||||
subtitle: "New booth"
|
||||
title: "New booth"
|
||||
name: "Name"
|
||||
reference: "Reference number"
|
||||
location: "Location"
|
||||
submit_button: "Create booth"
|
||||
edit:
|
||||
title: "Poll %{poll}"
|
||||
subtitle: "Edit booth"
|
||||
title: "Edit booth"
|
||||
name: "Name"
|
||||
reference: "Reference number"
|
||||
location: "Location"
|
||||
|
||||
@@ -202,23 +202,18 @@ es:
|
||||
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."
|
||||
no_booths: "No hay urnas."
|
||||
add_booth: "Añadir urna"
|
||||
name: "Nombre"
|
||||
location: "Ubicación"
|
||||
officers: "Presidentes de mesa"
|
||||
new:
|
||||
title: "Votación %{poll}"
|
||||
subtitle: "Nueva urna"
|
||||
title: "Nueva urna"
|
||||
name: "Nombre"
|
||||
reference: "Número de referencia"
|
||||
location: "Ubicación"
|
||||
submit_button: "Crear urna"
|
||||
edit:
|
||||
title: "Votación %{poll}"
|
||||
subtitle: "Editar urna"
|
||||
title: "Editar urna"
|
||||
name: "Nombre"
|
||||
reference: "Número de referencia"
|
||||
location: "Ubicación"
|
||||
|
||||
@@ -187,9 +187,8 @@ Rails.application.routes.draw do
|
||||
resources :officers do
|
||||
get :search, on: :collection
|
||||
end
|
||||
resources :polls do
|
||||
resources :booths
|
||||
end
|
||||
resources :polls
|
||||
resources :booths
|
||||
resources :questions
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user