Add popup confirmation on update button
Popup is added so user can confirm the changes Closes https://github.com/openSUSE/osem/issues/1687
This commit is contained in:
parent
0e16b5d0ae
commit
7d5e42ef75
1 changed files with 1 additions and 1 deletions
|
|
@ -29,4 +29,4 @@
|
|||
= f.inputs name: 'Booths' do
|
||||
= f.input :booth_limit, as: :number, in: 0..9999,
|
||||
hint: 'Booth limit is the maximum number of booths that you can accept for this conference. By setting this number (0 no limit) you can be sure that you are not going to accept more booths than the conference can accommodate. You currently have ' + pluralize(@conference.booths.accepted.count, 'accepted booth') +'.'
|
||||
= f.action :submit, as: :button, button_html: {class: 'btn btn-primary'}
|
||||
= f.action :submit, as: :button, button_html: { class: 'btn btn-primary', data: { confirm: 'Are you sure you want to proceed?' } }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue