Disable order button after clicking it
This commit is contained in:
parent
90505fd1e5
commit
a68f6295b9
1 changed files with 1 additions and 1 deletions
|
@ -38,5 +38,5 @@
|
|||
%td.text-right
|
||||
Total:
|
||||
%td.total_price.euro
|
||||
= f.submit "Order!", class: "btn btn-primary form-control"
|
||||
= f.submit "Order!", class: "btn btn-primary form-control", data: { disable_with: "Please wait..." }
|
||||
= render 'products_modal'
|
||||
|
|
Loading…
Reference in a new issue