Skip to content

Commit

Permalink
Turn off autocomplete for redeem voucher text field
Browse files Browse the repository at this point in the history
  • Loading branch information
Splines committed Oct 8, 2024
1 parent 66b6edf commit 84ab975
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/views/profile/_verify_voucher.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@
data: { cy: "verify-voucher-form"} } do |f| %>
<div class="form-group d-flex">
<%= f.text_field :secure_hash, class: "form-control me-2",
style: "width: 20rem;",
data: { cy: "secure-hash-input" } %>
style: "width: 20rem;",
autocomplete: "off",
data: { cy: "secure-hash-input" } %>
<%= f.submit t('buttons.verify_voucher'), class: "btn btn-primary",
data: { cy: "verify-voucher-submit" } %>
</div>
Expand Down

0 comments on commit 84ab975

Please sign in to comment.