Disable order button after clicking it
This commit is contained in:
parent
90505fd1e5
commit
a68f6295b9
|
@ -38,5 +38,5 @@
|
||||||
%td.text-right
|
%td.text-right
|
||||||
Total:
|
Total:
|
||||||
%td.total_price.euro
|
%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'
|
= render 'products_modal'
|
||||||
|
|
Loading…
Reference in a new issue