2016-12-07 17:55:34 +01:00
|
|
|
.row.white-back
|
|
|
|
#procedure_new.section.section-label
|
2017-04-06 19:10:25 +02:00
|
|
|
= form_for @procedure, url: url_for({ controller: 'admin/procedures', action: :update, id: @procedure.id }), multipart: true do |f|
|
|
|
|
= render partial: 'informations', locals: { f: f }
|
2017-02-15 14:13:02 +01:00
|
|
|
.text-right
|
2018-09-19 17:12:12 +02:00
|
|
|
- if !Flipflop.publish_draft? || (@available || @mine)
|
|
|
|
= f.button 'Enregistrer', class: 'btn btn-success'
|
|
|
|
- else
|
|
|
|
= f.button 'Enregistrer', class: 'btn btn-success', disabled: true
|