[fix #3336] Fix bug in admin procedure description
This commit is contained in:
parent
7427e8a6ef
commit
30d17aebe1
1 changed files with 1 additions and 4 deletions
|
@ -3,7 +3,4 @@
|
||||||
= form_for @procedure, url: url_for({ controller: 'admin/procedures', action: :update, id: @procedure.id }), multipart: true do |f|
|
= form_for @procedure, url: url_for({ controller: 'admin/procedures', action: :update, id: @procedure.id }), multipart: true do |f|
|
||||||
= render partial: 'informations', locals: { f: f }
|
= render partial: 'informations', locals: { f: f }
|
||||||
.text-right
|
.text-right
|
||||||
- if !Flipflop.publish_draft? || @availability.in?(Procedure::PATH_CAN_PUBLISH)
|
= f.button 'Enregistrer', class: 'btn btn-success'
|
||||||
= f.button 'Enregistrer', class: 'btn btn-success'
|
|
||||||
- else
|
|
||||||
= f.button 'Enregistrer', class: 'btn btn-success', disabled: true
|
|
||||||
|
|
Loading…
Reference in a new issue