Added data-disable to all button_to to fix double click issue (#923)

This commit is contained in:
Ahmad Farhat
2020-01-22 16:40:37 -05:00
committed by farhatahmad
parent 8a8eee52fe
commit eb965e5c52
10 changed files with 30 additions and 30 deletions

View File

@ -22,7 +22,7 @@
<div class="card-body">
<p><%= t("verify.not_verified") %></p>
<div class="btn-list text-right pt-8">
<%= button_to t("verify.resend"), resend_email_path, params: { email: params['email'], email_verified: false }, class: "btn btn-primary btn-space" %>
<%= button_to t("verify.resend"), resend_email_path, params: { email: params['email'], email_verified: false }, class: "btn btn-primary btn-space", "data-disable": "" %>
</div>
</div>
</div>