Add puzzle fake data recommendation
All checks were successful
CI / scan_ruby (push) Successful in 15s
CI / scan_js (push) Successful in 12s
CI / lint (push) Successful in 13s
CI / test (push) Successful in 34s

This commit is contained in:
sto 2025-06-18 15:00:02 +02:00
parent 194c126c90
commit 96b8553b1f
3 changed files with 7 additions and 0 deletions

View File

@ -1,4 +1,7 @@
= form_with model: puzzle, url: url, method: method do |form| = form_with model: puzzle, url: url, method: method do |form|
.row.mb-3
.col.alert.alert-warning
= t("puzzles.form.fake_data_recommendation")
.row.mb-3 .row.mb-3
.col .col
.form-floating .form-floating

View File

@ -143,6 +143,8 @@ en:
puzzles: puzzles:
edit: edit:
title: "Edit contest puzzle" title: "Edit contest puzzle"
form:
fake_data_recommendation: It is recommended to first enter a fake name and image, and to use the real ones only once the contest starts.
image_select: "Select an image" image_select: "Select an image"
new: new:
title: "New contest puzzle" title: "New contest puzzle"

View File

@ -114,6 +114,8 @@ fr:
puzzles: puzzles:
edit: edit:
title: "Modifier le puzzle" title: "Modifier le puzzle"
form:
fake_data_recommendation: Il est recommendé d'entrer de faux noms et images, et de mettre les vrais uniquement quand le concours démarre.
image_select: "Choisis une image" image_select: "Choisis une image"
new: new:
title: "Nouveau puzzle" title: "Nouveau puzzle"