Improve forms
This commit is contained in:
@@ -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"
|
Reference in New Issue
Block a user