forked from External/greenlight
Added data-disable to all button_to to fix double click issue (#923)
This commit is contained in:
committed by
farhatahmad
parent
8a8eee52fe
commit
eb965e5c52
@ -25,7 +25,7 @@
|
||||
</div>
|
||||
<% if Rails.configuration.terms && current_user && !current_user.accepted_terms %>
|
||||
<div class="btn-list text-right pt-8">
|
||||
<%= button_to t("terms.accept_existing"), terms_path, params: { accept: true }, class: "btn btn-primary btn-space" %>
|
||||
<%= button_to t("terms.accept_existing"), terms_path, params: { accept: true }, class: "btn btn-primary btn-space", "data-disable": "" %>
|
||||
</div>
|
||||
<% end %>
|
||||
</form>
|
||||
|
Reference in New Issue
Block a user