From 783d165b546e86f1cd2570f638ed1983c69d4ef1 Mon Sep 17 00:00:00 2001
From: Matthieu Marcillaud <marcimat@rezo.net>
Date: Fri, 17 Mar 2023 19:34:46 +0100
Subject: [PATCH] =?UTF-8?q?chore:=20Simplification=20d=E2=80=99=C3=A9critu?=
 =?UTF-8?q?re?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 formulaires/configurer_tradlang.html        | 2 +-
 formulaires/editer_tradlang_module.html     | 4 +---
 formulaires/tradlang_choisir_module.html    | 4 +---
 formulaires/tradlang_importer_langue.html   | 3 +--
 formulaires/tradlang_importer_langue_2.html | 3 +--
 5 files changed, 5 insertions(+), 11 deletions(-)

diff --git a/formulaires/configurer_tradlang.html b/formulaires/configurer_tradlang.html
index 2c16383..f3c3325 100644
--- a/formulaires/configurer_tradlang.html
+++ b/formulaires/configurer_tradlang.html
@@ -3,7 +3,7 @@
 	[<p class="reponse_formulaire reponse_formulaire_ok">(#ENV*{message_ok})</p>]
 	[<p class="reponse_formulaire reponse_formulaire_erreur">(#ENV*{message_erreur})</p>]
 	<form method="post" action="#ENV{action}"><div>
-		#ACTION_FORMULAIRE{#ENV{action}}
+		#ACTION_FORMULAIRE
 		<div class="editer-groupe">
 			<div class="editer editer_sauvegarde_locale saisie_case[(#ENV*{erreurs/sauvegarde_locale}|oui)erreur]">
 				<label for="champ_sauvegarde_locale"><:tradlang:label_sauvegarde_locale:></label>
diff --git a/formulaires/editer_tradlang_module.html b/formulaires/editer_tradlang_module.html
index 848e4f6..67ccc71 100644
--- a/formulaires/editer_tradlang_module.html
+++ b/formulaires/editer_tradlang_module.html
@@ -4,9 +4,7 @@
 	[<p class='reponse_formulaire reponse_formulaire_erreur'>(#ENV*{message_erreur})</p>]
 	<BOUCLE_editable(CONDITION){si #ENV{editable}|oui}>
 	<form method='post' action='#ENV{action}'><div>
-		[(#REM) declarer les hidden qui declencheront le service du formulaire
-		parametre : url d'action ]
-		#ACTION_FORMULAIRE{#ENV{action}}
+		#ACTION_FORMULAIRE
 		<div class="editer-groupe">
 			<div class="editer editer_nom_mod obligatoire[(#ENV{erreurs/nom_mod}|oui)erreur]">
 				<label for="nom_mod"><:tradlang:label_nommodule:></label>[
diff --git a/formulaires/tradlang_choisir_module.html b/formulaires/tradlang_choisir_module.html
index b3b3030..0af04ff 100644
--- a/formulaires/tradlang_choisir_module.html
+++ b/formulaires/tradlang_choisir_module.html
@@ -3,9 +3,7 @@
 	[<p class='reponse_formulaire reponse_formulaire_erreur'>(#ENV*{message_erreur})</p>]
 	[(#ENV{editable})
 	<form method='post' action='#ENV{action}'><div>
-		[(#REM) declarer les hidden qui declencheront le service du formulaire
-		parametre : url d'action ]
-		#ACTION_FORMULAIRE{#ENV{action}}
+		#ACTION_FORMULAIRE
 		<fieldset>
 			<legend class="h2"><:tradlang:titre_traduire:></legend>
 			<div class="editer-groupe">
diff --git a/formulaires/tradlang_importer_langue.html b/formulaires/tradlang_importer_langue.html
index 0bb9ddc..da44811 100644
--- a/formulaires/tradlang_importer_langue.html
+++ b/formulaires/tradlang_importer_langue.html
@@ -3,8 +3,7 @@
 	[<p class="reponse_formulaire reponse_formulaire_erreur">(#ENV*{message_erreur})</p>]
 	[(#ENV{editable})
 	<form method='post' action='#ENV{action}'><div>
-		[(#REM) les hidden qui declencheront le service du formulaire parametre : url d'action ]
-		#ACTION_FORMULAIRE{#ENV{action},#FORM}
+		#ACTION_FORMULAIRE
 			<h3 class="titrem"><:tradlang:titre_form_import_step_1:></h3>
 			<div class="editer-groupe">
 				<div class="editer editer_fichier_langue[(#ENV{erreurs/fichier_langue}|oui)erreur]">
diff --git a/formulaires/tradlang_importer_langue_2.html b/formulaires/tradlang_importer_langue_2.html
index 7aa121c..42c4df1 100644
--- a/formulaires/tradlang_importer_langue_2.html
+++ b/formulaires/tradlang_importer_langue_2.html
@@ -3,8 +3,7 @@
 	[<p class="reponse_formulaire reponse_formulaire_erreur">(#ENV*{message_erreur})</p>]
 	<BOUCLE_editable(CONDITION){si #ENV{editable}|oui}>
 	<form method='post' action='#ENV{action}'><div>
-		[(#REM) les hidden qui declencheront le service du formulaire parametre : url d'action ]
-		#ACTION_FORMULAIRE{#ENV{action},#FORM}
+		#ACTION_FORMULAIRE
 			<h3 class="titrem"><:tradlang:titre_form_import_step_2:></h3>
 			<B_modifs>
 			<div class="editer-groupe">
-- 
GitLab