Reorders and improve i18n for legislation processes form
This commit is contained in:
@@ -81,39 +81,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="row">
|
|
||||||
<div class="small-12 medium-4 column">
|
|
||||||
<label><%= t('admin.legislation.processes.form.allegations_phase') %></label>
|
|
||||||
</div>
|
|
||||||
<div class="small-12 medium-1 column legislation-process-start">
|
|
||||||
<%= t('admin.legislation.processes.form.start') %>
|
|
||||||
</div>
|
|
||||||
<div class="small-12 medium-2 column">
|
|
||||||
<%= f.text_field :allegations_start_date,
|
|
||||||
label: false,
|
|
||||||
value: format_date_for_calendar_form(@process.allegations_start_date),
|
|
||||||
class: "js-calendar-full",
|
|
||||||
id: "allegations_start_date" %>
|
|
||||||
</div>
|
|
||||||
<div class="small-12 medium-1 column legislation-process-end">
|
|
||||||
<%= t('admin.legislation.processes.form.end') %>
|
|
||||||
</div>
|
|
||||||
<div class="small-12 medium-2 column">
|
|
||||||
<%= f.text_field :allegations_end_date,
|
|
||||||
label: false,
|
|
||||||
value: format_date_for_calendar_form(@process.allegations_end_date),
|
|
||||||
class: "js-calendar-full",
|
|
||||||
id: "allegations_end_date" %>
|
|
||||||
</div>
|
|
||||||
<div class="small-12 medium-2 column">
|
|
||||||
<%= f.check_box :allegations_phase_enabled, checked: @process.allegations_phase.enabled?, label: t('admin.legislation.processes.form.enabled') %>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small-12 column">
|
|
||||||
<hr>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="small-12 medium-4 column">
|
<div class="small-12 medium-4 column">
|
||||||
<label><%= t('admin.legislation.processes.form.proposals_phase') %></label>
|
<label><%= t('admin.legislation.processes.form.proposals_phase') %></label>
|
||||||
@@ -147,6 +114,39 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
|
<div class="small-12 medium-4 column">
|
||||||
|
<label><%= t('admin.legislation.processes.form.allegations_phase') %></label>
|
||||||
|
</div>
|
||||||
|
<div class="small-12 medium-1 column legislation-process-start">
|
||||||
|
<%= t('admin.legislation.processes.form.start') %>
|
||||||
|
</div>
|
||||||
|
<div class="small-12 medium-2 column">
|
||||||
|
<%= f.text_field :allegations_start_date,
|
||||||
|
label: false,
|
||||||
|
value: format_date_for_calendar_form(@process.allegations_start_date),
|
||||||
|
class: "js-calendar-full",
|
||||||
|
id: "allegations_start_date" %>
|
||||||
|
</div>
|
||||||
|
<div class="small-12 medium-1 column legislation-process-end">
|
||||||
|
<%= t('admin.legislation.processes.form.end') %>
|
||||||
|
</div>
|
||||||
|
<div class="small-12 medium-2 column">
|
||||||
|
<%= f.text_field :allegations_end_date,
|
||||||
|
label: false,
|
||||||
|
value: format_date_for_calendar_form(@process.allegations_end_date),
|
||||||
|
class: "js-calendar-full",
|
||||||
|
id: "allegations_end_date" %>
|
||||||
|
</div>
|
||||||
|
<div class="small-12 medium-2 column">
|
||||||
|
<%= f.check_box :allegations_phase_enabled, checked: @process.allegations_phase.enabled?, label: t('admin.legislation.processes.form.enabled') %>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="small-12 column">
|
||||||
|
<hr>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="small-12 medium-4 column">
|
<div class="small-12 medium-4 column">
|
||||||
<%= f.label :draft_publication_date %>
|
<%= f.label :draft_publication_date %>
|
||||||
|
|||||||
@@ -201,6 +201,7 @@ en:
|
|||||||
body: Body
|
body: Body
|
||||||
legislation/process:
|
legislation/process:
|
||||||
title: Process Title
|
title: Process Title
|
||||||
|
summary: Summary
|
||||||
description: Description
|
description: Description
|
||||||
additional_info: Additional info
|
additional_info: Additional info
|
||||||
start_date: Start date
|
start_date: Start date
|
||||||
|
|||||||
@@ -332,7 +332,7 @@ en:
|
|||||||
enabled: Enabled
|
enabled: Enabled
|
||||||
process: Process
|
process: Process
|
||||||
debate_phase: Debate phase
|
debate_phase: Debate phase
|
||||||
allegations_phase: Allegations phase
|
allegations_phase: Drafting phase
|
||||||
proposals_phase: Proposals phase
|
proposals_phase: Proposals phase
|
||||||
start: Start
|
start: Start
|
||||||
end: End
|
end: End
|
||||||
@@ -364,7 +364,7 @@ en:
|
|||||||
status_planned: Planned
|
status_planned: Planned
|
||||||
subnav:
|
subnav:
|
||||||
info: Information
|
info: Information
|
||||||
draft_texts: Text
|
draft_texts: Drafting
|
||||||
questions: Debate
|
questions: Debate
|
||||||
proposals: Proposals
|
proposals: Proposals
|
||||||
proposals:
|
proposals:
|
||||||
|
|||||||
@@ -201,6 +201,7 @@ es:
|
|||||||
body: Contenido
|
body: Contenido
|
||||||
legislation/process:
|
legislation/process:
|
||||||
title: Título del proceso
|
title: Título del proceso
|
||||||
|
summary: Resumen
|
||||||
description: En qué consiste
|
description: En qué consiste
|
||||||
additional_info: Información adicional
|
additional_info: Información adicional
|
||||||
start_date: Fecha de inicio del proceso
|
start_date: Fecha de inicio del proceso
|
||||||
|
|||||||
@@ -331,8 +331,8 @@ es:
|
|||||||
form:
|
form:
|
||||||
enabled: Habilitado
|
enabled: Habilitado
|
||||||
process: Proceso
|
process: Proceso
|
||||||
debate_phase: Fase previa
|
debate_phase: Fase de debate
|
||||||
allegations_phase: Fase de alegaciones
|
allegations_phase: Fase de redacción
|
||||||
proposals_phase: Fase de propuestas
|
proposals_phase: Fase de propuestas
|
||||||
start: Inicio
|
start: Inicio
|
||||||
end: Fin
|
end: Fin
|
||||||
@@ -364,7 +364,7 @@ es:
|
|||||||
status_planned: Próximamente
|
status_planned: Próximamente
|
||||||
subnav:
|
subnav:
|
||||||
info: Información
|
info: Información
|
||||||
draft_texts: Texto
|
draft_texts: Redacción
|
||||||
questions: Debate
|
questions: Debate
|
||||||
proposals: Propuestas
|
proposals: Propuestas
|
||||||
proposals:
|
proposals:
|
||||||
|
|||||||
Reference in New Issue
Block a user