Add contestants
This commit is contained in:
@@ -1,8 +0,0 @@
|
||||
h1 Puzzles
|
||||
|
||||
= link_to "New puzzle", new_puzzle_path
|
||||
|
||||
div
|
||||
- @puzzles.each do |puzzle|
|
||||
div
|
||||
= link_to puzzle.name, puzzle
|
@@ -1,7 +0,0 @@
|
||||
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