Add contestants
Some checks are pending
CI / scan_ruby (push) Waiting to run
CI / scan_js (push) Waiting to run
CI / lint (push) Waiting to run
CI / test (push) Waiting to run

This commit is contained in:
sto
2025-03-20 09:19:39 +01:00
parent 658c50fd04
commit 44507bb85c
18 changed files with 145 additions and 25 deletions

View File

@@ -1,8 +0,0 @@
h1 Puzzles
= link_to "New puzzle", new_puzzle_path
div
- @puzzles.each do |puzzle|
div
= link_to puzzle.name, puzzle

View File

@@ -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??" }