make cancel button to reset form for instruction button
This commit is contained in:
parent
04b17e8299
commit
3137f508ed
1 changed files with 1 additions and 1 deletions
|
@ -32,5 +32,5 @@
|
|||
.hidden{ id: "justificatif_motivation_import_#{popup_class}" }
|
||||
= file_field :dossier, :justificatif_motivation, direct_upload: true
|
||||
.text-right.fr-mt-2w
|
||||
%span.fr-btn.fr-btn--secondary{ onclick: 'DS.motivationCancel();' } Annuler
|
||||
= button_tag "Annuler", type: :reset, class: 'fr-btn fr-btn--secondary', onclick: 'DS.motivationCancel();'
|
||||
= button_tag 'Valider la décision', name: :process_action, value: process_action, class: 'fr-btn fr-mr-0', title: title
|
||||
|
|
Loading…
Add table
Reference in a new issue