122,7 → 122,7 |
</div> |
|
<div id="zone-courriel-confirmation" class="control-group col-md-6 hidden"> |
<label for="courriel_confirmation" class="col-sm-8 obligatoire" title="Veuillez confirmer le courriel."> |
<label for="courriel_confirmation" class="col-sm-8 obligatoire" title="<?php echo $observateur['courriel-confirmation-title']; ?>"> |
<i class="fa fa-envelope" aria-hidden="true"></i> |
<?php echo $observateur['courriel-confirmation']; ?> |
</label> |
265,7 → 265,7 |
<input id="referentiel" name="referentiel" value="<?php echo $widget['referentiel']; ?>" type="hidden"> |
<?php endif; ?> |
|
<div class="control-group"> |
<div id="bloc-taxon" class="control-group"> |
<?php $isTaxonListe = ( isset( $widget['especes']['taxons'] ) && count( (array) $widget['especes']['taxons'] ) > 0 ) ;?> |
<label for="<?php echo ( !$isTaxonListe ) ? 'taxon' : 'taxon-liste';?>" class="col-sm-8" title=""> |
<i class="fa fa-leaf" aria-hidden="true"></i> |
273,13 → 273,13 |
</label> |
<div class="col-sm-8 mb-3"> |
<?php if ( $widget['type_especes'] === 'fixe' || $widget['especes']['espece_imposee'] ) : ?> |
<input id="taxon" name="taxon" type="text" class="form-control" value="<?php echo $widget['especes']['nom_sci_espece_defaut']; ?>" /> |
<input id="taxon" name="taxon" type="text" class="form-control taxon-validation" title"" value="<?php echo $widget['especes']['nom_sci_espece_defaut']; ?>"/> |
</div> |
</div> |
|
<?php elseif ( isset( $widget['especes']['taxons'] ) && count( (array) $widget['especes']['taxons'] ) > 0 ) : ?> |
<?php ksort( $widget['especes']['taxons'] ); ?> |
<select id="taxon-liste" name="taxon-liste" class="form-control custom-select"> |
<select id="taxon-liste" name="taxon-liste" class="form-control custom-select taxon-validation" title="<?php echo $observation['taxon-title'];?>"> |
<option class="choisir" value="inconnue" selected hidden><?php echo $general['choisir']; ?></option> |
<?php foreach ($widget['especes']['taxons'] as $taxon) : ?> |
<option |
295,7 → 295,8 |
<?php endforeach; ?> |
<option value="autre"><?php echo $observation['autre-espece']; ?></option> |
</select> |
<input id="taxon" name="taxon" class="form-control" type="hidden"> |
<span for="taxon-liste" class="error" style="display: none;"><?php echo $observation['taxon-title'];?></span> |
<input id="taxon" name="taxon" class="form-control" type="hidden" /> |
</div> |
</div> |
<div id="taxon-input-groupe" class="control-group hidden"> |
308,7 → 309,8 |
</div> |
</div> |
<?php else : ?> |
<input id="taxon" name="taxon" class="form-control" type="text"> |
<input id="taxon" name="taxon" class="form-control taxon-validation" type="text" title="<?php echo $observation['taxon-title'];?>"> |
<span for="taxon" class="error" style="display: none;"><?php echo $observation['taxon-title'];?></span> |
</div> |
</div> |
<?php endif; ?> |
607,6 → 609,7 |
<input type="hidden" name="MAX_FILE_SIZE" value="5242880"> |
</label> |
</div> |
<span for="fichier" class="error" style="display: none;"><?php echo $observation['taxon-title'];?></span> |
|
<div id="miniatures"></div> |
<p class="miniature-msg" class="span12"> </p> |
613,15 → 616,6 |
</div> |
</form> |
|
<!-- Messages d'erreur du formulaire--> |
<div class="zone-alerte"> |
<div id="dialogue-image-or-taxon" class="alert alert-warning alert-block hidden"> |
<a class="close">×</a> |
<h4 class="alert-heading"><?php echo $observation['alert-img-tax-title']; ?></h4> |
<p><?php echo $observation['alert-img-tax']; ?></p> |
</div> |
</div> |
|
<div id="image" class="row"></div> |
</div> |
|