Improve forms
Some checks are pending
CI / scan_ruby (push) Waiting to run
CI / scan_js (push) Waiting to run
CI / lint (push) Waiting to run
CI / test (push) Waiting to run

This commit is contained in:
sto
2025-03-15 09:26:03 +01:00
parent caa45332b0
commit 64109cdfd3
4 changed files with 21 additions and 15 deletions

View File

@@ -1,8 +1,8 @@
= form_with model: contest do |form|
.row
.col.g-3
.form-floating.mt-5
.col
.form-floating
= form.text_field :name, autocomplete: "off", class: "form-control"
= form.label :name, class: "required"
div.mt-3
= form.submit
= form.submit "Create", class: "btn btn-primary"