From a84a57eaa1331a3f9a3b578f04dc6a9820e19c0e Mon Sep 17 00:00:00 2001 From: Julien Bourdin Date: Sun, 3 May 2026 22:52:01 +0200 Subject: [PATCH] fix(deck): render format + latestSet at the right spot in deck forms Both fields were missing from the explicit form_row calls in the deck new and edit templates, so form_end was emitting them at the bottom of the form (after the submit button area in some layouts). - new.html.twig: format goes right after name; latestSet sits between the languages island and the public checkbox (matching edit.html.twig). - edit.html.twig: format added right after name. latestSet was already in place. --- templates/deck/edit.html.twig | 1 + templates/deck/new.html.twig | 3 +++ 2 files changed, 4 insertions(+) diff --git a/templates/deck/edit.html.twig b/templates/deck/edit.html.twig index 7564516..78d530a 100644 --- a/templates/deck/edit.html.twig +++ b/templates/deck/edit.html.twig @@ -20,6 +20,7 @@
{{ form_start(form) }} {{ form_row(form.name) }} + {{ form_row(form.format) }} {{ form_row(form.notes) }} {# Archetype — React island #} diff --git a/templates/deck/new.html.twig b/templates/deck/new.html.twig index 569f649..85244d3 100644 --- a/templates/deck/new.html.twig +++ b/templates/deck/new.html.twig @@ -20,6 +20,7 @@
{{ form_start(form) }} {{ form_row(form.name) }} + {{ form_row(form.format) }} {{ form_row(form.notes) }} {# Archetype — React island #} @@ -47,6 +48,8 @@ {{ form_widget(form.languages) }}
+ {{ form_row(form.latestSet) }} +
{{ form_row(form.public) }}