Files
puzzle-scoreboard/app/views/contests/_form.html.slim
sto 1f0cbee9fd
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
Add team switch
2025-03-15 12:44:58 +01:00

15 lines
483 B
Plaintext

= form_with model: contest do |form|
.row.mb-3
.col
.form-floating
= form.text_field :name, autocomplete: "off", class: "form-control"
= form.label :name, class: "required"
.row
.col
.form-check.form-switch
= form.check_box :team, class: "form-check-input"
= form.label :team
| Team contest
.form-text For registration and UI display purposes
div.mt-3
= form.submit submit_text, class: "btn btn-primary"