Organise with layouts
This commit is contained in:
8
app/views/contests/_form.html.slim
Normal file
8
app/views/contests/_form.html.slim
Normal file
@@ -0,0 +1,8 @@
|
||||
= form_with model: contest do |form|
|
||||
.row
|
||||
.col.g-3
|
||||
.form-floating.mt-5
|
||||
= form.text_field :name, autocomplete: "off", class: "form-control"
|
||||
= form.label :name, class: "required"
|
||||
div.mt-3
|
||||
= form.submit
|
||||
Reference in New Issue
Block a user