From 5f1057d1184f4a715ee8fc7f5511db95e7c36f17 Mon Sep 17 00:00:00 2001 From: "j.foucher" Date: Sat, 2 May 2026 10:42:31 +0200 Subject: [PATCH] backoffice: separate launcher Set / Remove forms (nested form bug) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The previous markup had a
nested inside a . HTML doesn't allow nested forms — browsers flatten the structure unpredictably, and clicking the inner "Définir" submit could end up posting the outer (or vice versa), causing the section to be removed when the user actually wanted to set it. Two sibling forms now, with a 12px gap between them. Same UX. Co-Authored-By: Claude Opus 4.7 (1M context) --- server/admin/versions.php | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/server/admin/versions.php b/server/admin/versions.php index 5420c55..31af3dd 100644 --- a/server/admin/versions.php +++ b/server/admin/versions.php @@ -279,18 +279,18 @@ Layout::header('Versions', 'versions'); value="" pattern="\d+\.\d+\.\d+"> -
- - - - - - - - -
+ + +
+ + + +
+ +

Workflow

  1. Définis la version ci-dessus (ex : 0.6.0).