From 70c0fed0c46a657ec5831de747c7d9dad0689bfe Mon Sep 17 00:00:00 2001 From: sto Date: Sat, 21 Jun 2025 07:08:14 +0200 Subject: [PATCH] Show current puzzle image in puzzle edit form --- app/views/puzzles/_form.html.slim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/views/puzzles/_form.html.slim b/app/views/puzzles/_form.html.slim index 9fe9b8a..5b7defb 100644 --- a/app/views/puzzles/_form.html.slim +++ b/app/views/puzzles/_form.html.slim @@ -2,6 +2,9 @@ .row.mb-3 .col.alert.alert-warning = t("puzzles.form.fake_data_recommendation") + .row.mb-3 + .col + = image_tag(puzzle.image, class: "img-fluid", style: "max-height: 256px") if puzzle.image.attached? .row.mb-3 .col .form-floating