Use the friendly ID gem for contest slugs
This commit is contained in:
@@ -4,12 +4,6 @@
|
||||
.form-floating
|
||||
= form.text_field :name, autocomplete: "off", class: "form-control"
|
||||
= form.label :name, class: "required"
|
||||
.row.mb-3
|
||||
.col
|
||||
.form-floating
|
||||
= form.text_field :slug, autocomplete: "off", class: "form-control"
|
||||
= form.label :slug, class: "required"
|
||||
.form-text This will be used for building the public scoreboard URL: https://puzzle-scoreboard.org/public/<slug>.
|
||||
.row.mb-3
|
||||
.col
|
||||
.form-check.form-switch
|
||||
|
Reference in New Issue
Block a user