Initial app
This commit is contained in:
7
app/views/puzzles/show.html.slim
Normal file
7
app/views/puzzles/show.html.slim
Normal file
@@ -0,0 +1,7 @@
|
||||
h1 = @puzzle.name
|
||||
|
||||
= link_to "Back", puzzles_path
|
||||
|
||||
= image_tag @puzzle.image if @puzzle.image.attached?
|
||||
|
||||
= button_to "Delete", @puzzle, method: :delete, data: { turbo_confirm: "Are you suuure??" }
|
||||
Reference in New Issue
Block a user