8 lines
259 B
Plaintext
8 lines
259 B
Plaintext
= form_with model: contest do |form|
|
|
.row
|
|
.col
|
|
.form-floating
|
|
= form.text_field :name, autocomplete: "off", class: "form-control"
|
|
= form.label :name, class: "required"
|
|
div.mt-3
|
|
= form.submit "Create", class: "btn btn-primary" |