mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
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
bd045c2976
commit
837d8ec0db
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