Initial app
This commit is contained in:
11
app/views/puzzles/new.html.slim
Normal file
11
app/views/puzzles/new.html.slim
Normal file
@@ -0,0 +1,11 @@
|
||||
h1 New puzzle
|
||||
|
||||
= form_with model: @puzzle do |form|
|
||||
div
|
||||
= form.label :name
|
||||
= form.text_field :name
|
||||
div
|
||||
= form.label :image, style: "display: block"
|
||||
= form.file_field :image, accept: "image/*"
|
||||
div
|
||||
= form.submit
|
||||
Reference in New Issue
Block a user