Legislation Questions model and basic admin
This commit is contained in:
@@ -120,6 +120,7 @@ ignore_unused:
|
||||
- 'admin.legislation.processes.index.filter*'
|
||||
- 'admin.legislation.processes.*.submit_button'
|
||||
- 'admin.legislation.draft_versions.*.submit_button'
|
||||
- 'admin.legislation.questions.*.submit_button'
|
||||
- 'admin.comments.index.hidden_*'
|
||||
- 'admin.settings.index.features.*'
|
||||
- 'moderation.comments.index.filter*'
|
||||
|
||||
@@ -108,6 +108,7 @@ en:
|
||||
subnav:
|
||||
info: Information
|
||||
draft_texts: Text
|
||||
questions: Debate
|
||||
draft_versions:
|
||||
edit:
|
||||
back: Back
|
||||
@@ -128,11 +129,35 @@ en:
|
||||
draft: Draft
|
||||
published: Published
|
||||
table:
|
||||
title: Títle
|
||||
title: Title
|
||||
created_at: Created at
|
||||
comments: Comments
|
||||
final_version: Final version
|
||||
status: Status
|
||||
questions:
|
||||
edit:
|
||||
back: Back
|
||||
submit_button: Save changes
|
||||
errors:
|
||||
form:
|
||||
error: Error
|
||||
form:
|
||||
add_option: Add option
|
||||
index:
|
||||
back: Back
|
||||
title: Questions
|
||||
create: Create question
|
||||
new:
|
||||
back: Back
|
||||
title: Create new question
|
||||
submit_button: Create question
|
||||
table:
|
||||
title: Title
|
||||
question_options: Question options
|
||||
answers_count: Answers count
|
||||
comments_count: Comments count
|
||||
question_option_fields:
|
||||
remove_option: Remove option
|
||||
managers:
|
||||
index:
|
||||
title: Managers
|
||||
|
||||
@@ -106,6 +106,7 @@ es:
|
||||
subnav:
|
||||
info: Información
|
||||
draft_texts: Texto
|
||||
questions: Debate
|
||||
draft_versions:
|
||||
edit:
|
||||
back: Volver
|
||||
@@ -131,6 +132,30 @@ es:
|
||||
comments: Comentarios
|
||||
final_version: Versión final
|
||||
status: Estado
|
||||
questions:
|
||||
edit:
|
||||
back: Volver
|
||||
submit_button: Guardar cambios
|
||||
errors:
|
||||
form:
|
||||
error: Error
|
||||
form:
|
||||
add_option: +Añadir respuesta cerrada
|
||||
index:
|
||||
back: Volver
|
||||
title: Preguntas
|
||||
create: Crear pregunta
|
||||
new:
|
||||
back: Volver
|
||||
title: Crear nueva pregunta
|
||||
submit_button: Crear pregunta
|
||||
table:
|
||||
title: Título
|
||||
question_options: Opciones de respuesta
|
||||
answers_count: Número de respuestas
|
||||
comments_count: Número de comentarios
|
||||
question_option_fields:
|
||||
remove_option: Eliminar
|
||||
managers:
|
||||
index:
|
||||
title: Gestores
|
||||
|
||||
@@ -200,6 +200,7 @@ Rails.application.routes.draw do
|
||||
|
||||
namespace :legislation do
|
||||
resources :processes do
|
||||
resources :questions
|
||||
resources :draft_versions
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user