From 5de9d9fa97070d2b6bec87a7c601fe20d1dd27c6 Mon Sep 17 00:00:00 2001 From: Noizette Date: Mon, 10 Jan 2022 06:19:26 +0100 Subject: [PATCH] Fix champs required --- templates/_form.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/_form.tpl b/templates/_form.tpl index 3b5d8be..4132706 100644 --- a/templates/_form.tpl +++ b/templates/_form.tpl @@ -143,7 +143,7 @@
Contenu
- {input type="money" name="total" label="Montant du don" required=1 source=$doc} + {input type="money" name="total" label="Montant du don" required=1 source=$doc default="0"} {input type="select" name="forme_don" required=1 label="Forme du don" source=$doc options=$formes_don default=$doc.forme_don} {input type="select" name="nature_don" required=1 label="Nature du don" source=$doc options=$natures_don default=$doc.nature_don} {input type="select" name="texte_don" required=1 label="Texte explicatif" source=$doc options=$textes_don default=$doc.texte_don}