Rev 180 | Rev 302 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
<!-- ODS_SAISIE - DEBUT MODIFICATION STATION -->
<div id="saisie_station">
<h2 class="etape"> Modification de la station <?= $infos_station['nom'] ?> </h2>
<form class="form_saisie" action="<?= Liens::getUrlValidationFormulaireModificationStation($infos_station['id']); ?>" method="post" id="form_modif_station">
<div class="element_formulaire">
<label for="station_nom">Nom de la station :</label>
<input type="text" name="station_nom" id="station_nom" value="<?= $infos_station['nom']; ?>" /><br />
</div>
<div class="element_formulaire">
<span class="element_formulaire element_formulaire_en_ligne">
<label for="station_nom">Commune / ville :</label>
<input type="text" name="station_commune" id="station_commune" value="<?= $infos_station['commune']; ?>" />
</span>
<span class="element_formulaire element_formulaire_en_ligne">
<label for="station_nom">Milieu :</label>
<select name="station_milieu" id="station_milieu">
<?php foreach($milieux as $id_milieu => $milieu) : ?>
<?php $est_milieu_selectionne = ''; if($infos_station['id_milieu'] == $id_milieu) $est_milieu_selectionne='selected="selected"'; ?>
<option id="station_milieu_<?= $id_milieu; ?>" value="<?= $id_milieu; ?>" <?= $est_milieu_selectionne; ?> ><?= $milieu; ?></option>
<?php endforeach ?>
</select>
</span>
</div>
<div class="element_formulaire">
<label for="station_nom">Altitude :</label>
<input size="5" type="text" name="station_alt" id="station_alt" value="<?= $infos_station['altitude']; ?>" /> mètres <br />
</div>
<div id="conteneur_form_liens_lat_lon">
<div class="element_formulaire">
<label for="station_lat">Latitude :</label>
<input type="text" name="station_lat" id="station_lat" value="<?= $infos_station['latitude']; ?>" />
<label for="station_lon">Longitude :</label>
<input type="text" name="station_lon" id="station_lon" value="<?= $infos_station['longitude']; ?>" />
<input type="button" name="localiser_lat_lon" id="localiser_lat_lon" value="" />
</div>
</div>
<div class="element_formulaire conteneur_carte">
<div id="map_canvas" style="width:100%; height:100%"></div>
</div>
<div>
<p class="cadre_information">dk,kdekd</p><br />
</div>
<input type="hidden" id="station_code_insee" name="station_code_insee" value="<?= $infos_station['code_insee']; ?>" />
<input type="hidden" id="station_id" name="station_id" value="<?= $infos_station['id']; ?>" />
<input class="droite gros_bouton_validation" type="submit" value="Valider" />
</form>
</div>
<!-- ODS_SAISIE - FIN MODIFICATION STATION -->