test gestion signature
FossilOrigin-Name: a6b1717eeee8e4c3a852ccd1363d47e4cbe561476fcc0d0eb08a0615b85bcc17
This commit is contained in:
parent
3aa094f4db
commit
f9f59d7454
6 changed files with 64 additions and 25 deletions
|
|
@ -11,12 +11,12 @@
|
|||
|
||||
{form_errors}
|
||||
|
||||
<form method="post" action="{$self_url}">
|
||||
<form method="post" action="{$self_url}" enctype="multipart/form-data" data-focus="1">
|
||||
<fieldset>
|
||||
<legend>Objet (but) de l'association</legend>
|
||||
<dl>
|
||||
<dt><label>Objet</label><b title="Champ obligatoire">obligatoire</b></dt>
|
||||
{input type="text" name="objet_asso" source=$plugin.config label="" maxlength=300}
|
||||
<dt><label>Objet</label> <b title="Champ obligatoire">(obligatoire)</b></dt>
|
||||
{input type="text" name="objet_asso" source=$plugin.config label="" required="required" maxlength=300}
|
||||
</dl>
|
||||
</fieldset>
|
||||
|
||||
|
|
@ -24,7 +24,7 @@
|
|||
<legend>Droit à la réduction d'impôt</legend>
|
||||
<dl>
|
||||
<dt><label>Articles concernés par l'association : </label>
|
||||
<b title="Champ obligatoire">obligatoire</b>
|
||||
<b title="Champ obligatoire">(obligatoire)</b>
|
||||
</dt>
|
||||
{foreach from=$plugin_config->articlesCGI key="key" item="article"}
|
||||
{*
|
||||
|
|
@ -36,6 +36,21 @@
|
|||
{/foreach}
|
||||
</dl>
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
<legend>Signature du responsable</legend>
|
||||
<dl>
|
||||
{*
|
||||
{input type="file" label="Signature" name="signature" required="required" help="L'image de la signature doit être au format PNG, d'une taille raisonable et doit être dotée d'un fond transparent" accept="image/*,*.jpeg,*.jpg,*.png,*.gif"}
|
||||
*}
|
||||
{if $plugin_config.signature != ''}
|
||||
<img src="/{$plugin_config.signature}" style="width:300px;" />
|
||||
{/if}
|
||||
{linkbutton shape="upload" label="Changer de signature" target="_dialog" href="upload.php?p=%s"|args:$path}
|
||||
</dl>
|
||||
<p class="help">N'oubliez pas d'enregistrer, sinon la signature ne sera pas prise en compte !</p>
|
||||
</fieldset>
|
||||
|
||||
<p class="submit">
|
||||
{csrf_field key="recusfiscaux_config"}
|
||||
{button type="submit" name="save" label="Enregistrer" shape="right" class="main"}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue