13 lines
1,011 B
Text
13 lines
1,011 B
Text
= render partial: 'administrateurs/breadcrumbs',
|
|
locals: { steps: [['Démarches', admin_procedures_back_path(@procedure)],
|
|
["#{@procedure.libelle.truncate_words(10)} - archiver"]],
|
|
metadatas: true }
|
|
|
|
.container
|
|
.card
|
|
%h2.card-title
|
|
= t('administrateurs.procedures.close.replacement_procedure_title')
|
|
= form_tag admin_procedure_archive_path(@procedure), method: :put, class: "form" do
|
|
- options_from_collection_for_select = current_administrateur.procedures.publiees.map { |p| ["#{p.libelle} (#{p.id})", p.id] }.to_h
|
|
= select_tag :new_procedure, options_for_select(options_from_collection_for_select), include_blank: true
|
|
= submit_tag t('administrateurs.procedures.close.actions.close_procedure'), { class: "button primary", id: 'publish', data: { confirm: "Voulez-vous vraiment clore la démarche ? \nLes dossiers en cours pourront être instruits, mais aucun nouveau dossier ne pourra plus être déposé.", disable_with: "Archivage..."} }
|