2016-12-07 17:55:34 +01:00
|
|
|
.row.white-back
|
|
|
|
%h2
|
2017-04-06 11:38:44 +02:00
|
|
|
= t('dynamics.admin.dossiers.tableau_de_bord.nouvelle_procedure')
|
2015-10-26 15:54:20 +01:00
|
|
|
|
2016-12-07 17:55:34 +01:00
|
|
|
#procedure_new.section.section-label
|
2017-04-06 19:10:25 +02:00
|
|
|
= form_for @procedure, url: { controller: 'admin/procedures', action: :create }, multipart: true do |f|
|
|
|
|
= render partial: 'informations', locals: { f: f }
|
2018-09-19 17:12:12 +02:00
|
|
|
.text-right
|
2018-10-30 15:59:27 +01:00
|
|
|
- if !Flipflop.publish_draft? || @availability.in?(Procedure::PATH_CAN_PUBLISH)
|
2018-09-19 17:12:12 +02:00
|
|
|
= f.button 'Valider', class: 'btn btn-info', id: 'save-procedure'
|
|
|
|
- else
|
|
|
|
= f.button 'Valider', class: 'btn btn-info', id: 'save-procedure', disabled: true
|