amélioration gestion champs nom
FossilOrigin-Name: 23841b8b267a439702b01a11c2066c9be6469638b660b334c28d695f2c149f83
This commit is contained in:
parent
b1645828fc
commit
2bdd771a70
3 changed files with 60 additions and 27 deletions
|
|
@ -85,13 +85,13 @@
|
|||
</dl>
|
||||
|
||||
{* les champs de nom *}
|
||||
<?php $nbChamps = count($nomChamps); ?>
|
||||
<?php $nbChamps = count($champsNom); ?>
|
||||
<dl class="config" {if $nbChamps == 1}hidden{/if}>
|
||||
<dt><label>Champs nom et prénom</label></dt>
|
||||
<p>Sélectionnez et classez le(s) champ(s) qui représente(nt) le nom et le prénom du donateur</p>
|
||||
|
||||
<div>
|
||||
{foreach from=$nomChamps key="nom" item="champ"}
|
||||
{foreach from=$champsNom key="nom" item="champ"}
|
||||
<div>
|
||||
<input type="checkbox" name="champsNom[]" value={$nom} class="choix" {if $nbChamps == 1 || $champ.position != 0}checked{/if} >
|
||||
<label>{$champ.titre}</label>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue