Fix onsite settings view
All checks were successful
CI / scan_ruby (push) Successful in 1m9s
CI / scan_js (push) Successful in 14s
CI / lint (push) Successful in 14s
CI / test (push) Successful in 49s

This commit is contained in:
sto
2026-01-17 09:23:22 +01:00
parent 0760c9fe46
commit ab3409ccaa
2 changed files with 1 additions and 7 deletions

View File

@@ -17,12 +17,6 @@
.form-floating
= form.select :lang, Languages::AVAILABLE_LANGUAGES.map { |lang| [ lang[:name], lang[:id] ] }, {}, class: "form-select"
= form.label :lang
.row.mt-2.mb-3
.col
.form-floating
= form.text_field :code, autocomplete: "off", class: "form-control"
= form.label :code, class: "required"
.form-text = t("activerecord.attributes.contest.code_description")
.row.mb-3 style="display: none"
.col
.form-check.form-switch

View File

@@ -1,6 +1,6 @@
= render "params_nav"
= form_with model: @contest, url: "/contests/#{@contest.id}/settings/general" do |form|
= form_with model: @contest, url: "/contests/#{@contest.id}/settings/onsite" do |form|
.row.mt-2.mb-3
.col
.form-floating