Organise with layouts
This commit is contained in:
@@ -1,8 +1 @@
|
||||
h1 Create a new contest
|
||||
|
||||
= form_with model: @contest do |form|
|
||||
div
|
||||
= form.label :name
|
||||
= form.text_field :name
|
||||
div
|
||||
= form.submit
|
||||
= render "form", contest: @contest
|
||||
Reference in New Issue
Block a user