Add client-side timeout on resend confirmation button (#26300)
This commit is contained in:
parent
425d77f812
commit
2f932cb2bb
2 changed files with 27 additions and 1 deletions
|
@ -19,6 +19,6 @@
|
|||
= f.input :email, required: true, hint: false, input_html: { 'aria-label': t('simple_form.labels.defaults.email'), autocomplete: 'off' }
|
||||
|
||||
.actions
|
||||
= f.submit t('auth.resend_confirmation'), class: 'button'
|
||||
= f.button :button, t('auth.resend_confirmation'), type: :submit, class: 'button timer-button', disabled: true
|
||||
|
||||
.form-footer= render 'auth/shared/links'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue