Fix auto-disable button on form submit, per Chrome issues
dang it chrome, why you gotta be like that
This commit is contained in:
parent
178b9f2bcb
commit
e945ebe325
4 changed files with 13 additions and 7 deletions
|
@ -14,11 +14,11 @@
|
|||
<p>Are you sure about this?</p>
|
||||
<br />
|
||||
|
||||
${h.form(request.current_route_url())}
|
||||
${h.form(request.current_route_url(), class_='autodisable')}
|
||||
${h.csrf_token(request)}
|
||||
${h.hidden('clone', value='clone')}
|
||||
<div class="buttons">
|
||||
${h.link_to("Whoops, nevermind...", form.cancel_url, class_='button autodisable')}
|
||||
${h.submit('submit', "Yes, please clone away", class_='autodisable')}
|
||||
${h.submit('submit', "Yes, please clone away")}
|
||||
</div>
|
||||
${h.end_form()}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue