Fix champs required

This commit is contained in:
Noizette 2022-01-10 06:19:26 +01:00
parent 57b54bc14c
commit 5de9d9fa97

View File

@ -143,7 +143,7 @@
<fieldset data-types="t2">
<legend>Contenu</legend>
<dl>
{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}