Show current puzzle image in puzzle edit form
All checks were successful
CI / scan_ruby (push) Successful in 14s
CI / scan_js (push) Successful in 10s
CI / lint (push) Successful in 13s
CI / test (push) Successful in 27s

This commit is contained in:
sto 2025-06-21 07:08:14 +02:00
parent 6c0f5167a4
commit 70c0fed0c4

View File

@ -2,6 +2,9 @@
.row.mb-3 .row.mb-3
.col.alert.alert-warning .col.alert.alert-warning
= t("puzzles.form.fake_data_recommendation") = 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 .row.mb-3
.col .col
.form-floating .form-floating