demarches-normaliennes/app/views/admin/procedures/new.html.haml

13 lines
586 B
Text
Raw Normal View History

2016-12-07 17:55:34 +01:00
.row.white-back
%h2
= 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 }
.text-right
- if !Flipflop.publish_draft? || @availability.in?(Procedure::PATH_CAN_PUBLISH)
= f.button 'Valider', class: 'btn btn-info', id: 'save-procedure'
- else
= f.button 'Valider', class: 'btn btn-info', id: 'save-procedure', disabled: true