Secure public contestant forms by asking the code first
Some checks failed
CI / scan_ruby (push) Has been cancelled
CI / scan_js (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / test (push) Has been cancelled

This commit is contained in:
sto
2026-08-09 10:09:04 +02:00
parent f9e100b85f
commit 84e3424fcf
6 changed files with 83 additions and 14 deletions

View File

@@ -126,9 +126,7 @@
.row.mb-3
.col
.form-floating
= form.text_field :code, autocomplete: "off", class: "form-control"
= form.label :code
= t("completions.form.code")
= form.hidden_field :code, autocomplete: "off", class: "form-control"
.row
.col
= form.submit submit_text, class: "btn btn-primary"