32,14 → 32,41 |
<input id="referentiel" name="referentiel" value="<?php echo $widget['referentiel']; ?>" type="hidden"> |
|
<div id="bloc-taxon" class="control-group"> |
<label for="taxon" class="col-sm-8 obligatoire" title=""> |
<label for="taxon-liste" class="col-sm-8 obligatoire" title=""> |
<i class="fa fa-leaf" aria-hidden="true"></i> |
<?php echo $general['espece']; ?> (<?php echo $widget['referentiel']; ?>) |
<?php echo $general['espece']; ?><!-- (<?php echo $widget['referentiel']; ?>)--> |
</label> |
<div class="col-sm-8 mb-3"> |
<input id="taxon" name="taxon" class="form-control taxon-validation has-tooltip" type="text" data-toggle="tooltip" title="<?php echo $general['espece-title']; ?>" autocomplete="off"> |
<?php ksort( $widget['especes']['taxons'] ); ?> |
<select id="taxon-liste" name="taxon-liste" class="form-control custom-select taxon-validation has-tooltip" data-toggle="tooltip" title="<?php echo $observation['liste-espece-title']; ?>"> |
<option class="choisir" value="inconnue" selected hidden><?php echo $general['choisir']; ?></option> |
<?php foreach ($widget['especes']['taxons'] as $taxon) : ?> |
<option |
class="nom-sci" |
value="<?php echo $taxon['nom_sel'];?>" |
title="<?php echo $taxon['nom_fr'];?>" |
data-num-nom-sel="<?php echo $taxon['num_nom_sel'];?>" |
data-nom-ret="<?php echo $taxon['nom_ret'];?>" |
data-num-nom-ret="<?php echo $taxon['num_nom_ret'];?>" |
data-nt="<?php echo $taxon['num_taxon'];?>" |
data-famille="<?php echo $taxon['famille'];?>" |
><?php echo $taxon['nom_sel'];?></option> |
<?php endforeach; ?> |
<option value="autre"><?php echo $general['autre-espece']; ?></option> |
</select> |
<span for="taxon-liste" class="error" style="display: none;"><?php echo $observation['error-taxon'];?></span> |
<input id="taxon" name="taxon" type="hidden" /> |
</div> |
</div> |
<div id="taxon-input-groupe" class="control-group hidden"> |
<label for="taxon-autre" class="col-sm-8" title=""> |
<i class="fab fa-pagelines" aria-hidden="true"></i> |
<?php echo $general['autre-espece']; ?> |
</label> |
<div class="col-sm-8 mb-3"> |
<input id="taxon-autre" name="taxon-autre" class="form-control has-tooltip" type="text" data-toggle="tooltip" title="<?php echo $observation['espece-title']; ?>"> |
</div> |
</div> |
|
<div class="control-group"> |
<label for="certitude" class="col-sm-8 obligatoire" title=""> |