Add checkbox to set published in process admin management
This commit is contained in:
@@ -49,7 +49,8 @@ class Admin::Legislation::ProcessesController < Admin::Legislation::BaseControll
|
|||||||
:debate_phase_enabled,
|
:debate_phase_enabled,
|
||||||
:allegations_phase_enabled,
|
:allegations_phase_enabled,
|
||||||
:draft_publication_enabled,
|
:draft_publication_enabled,
|
||||||
:result_publication_enabled
|
:result_publication_enabled,
|
||||||
|
:published
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -39,6 +39,9 @@
|
|||||||
class: "js-calendar-full",
|
class: "js-calendar-full",
|
||||||
id: "end_date" %>
|
id: "end_date" %>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="small-12 medium-2 column">
|
||||||
|
<%= f.check_box :published, checked: @process.published?, label: t('admin.legislation.processes.form.enabled') %>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="small-12 column">
|
<div class="small-12 column">
|
||||||
<hr>
|
<hr>
|
||||||
|
|||||||
Reference in New Issue
Block a user