adds officer search to admin polls
This commit is contained in:
@@ -315,6 +315,9 @@ en:
|
||||
booths_search:
|
||||
button: Search
|
||||
placeholder: Search booth by name
|
||||
poll_officers_search:
|
||||
button: Search
|
||||
placeholder: Search poll officers
|
||||
poll_questions_search:
|
||||
button: Search
|
||||
placeholder: Search poll questions
|
||||
|
||||
@@ -315,6 +315,9 @@ es:
|
||||
booths_search:
|
||||
button: Buscar
|
||||
placeholder: Buscar urna por nombre
|
||||
poll_officers_search:
|
||||
button: Buscar
|
||||
placeholder: Buscar presidentes de mesa
|
||||
poll_questions_search:
|
||||
button: Buscar
|
||||
placeholder: Buscar preguntas
|
||||
|
||||
@@ -189,6 +189,7 @@ Rails.application.routes.draw do
|
||||
end
|
||||
resources :polls do
|
||||
get :search_booths, on: :member
|
||||
get :search_officers, on: :member
|
||||
get :search_questions, on: :member
|
||||
patch :add_question, on: :member
|
||||
patch :remove_question, on: :member
|
||||
@@ -196,6 +197,7 @@ Rails.application.routes.draw do
|
||||
|
||||
resources :booths
|
||||
resources :booth_assignments, only: [:create, :destroy]
|
||||
resources :officer_assignments, only: [:new, :create, :destroy]
|
||||
resources :questions
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user