31 lines
1.7 KiB
PHP
Executable File
31 lines
1.7 KiB
PHP
Executable File
<form id="formData">
|
|
<legend id="titre_formData">Modification des données</legend>
|
|
<INPUT class="sr-only" TYPE="text" id = "id" name = "id" value="<?=$localite['id']?>">
|
|
<table class="table table-responsive table-condensed">
|
|
<tbody>
|
|
<tr>
|
|
<td width="5%" align="center" class="required">Code</td>
|
|
<td width="10%" ><INPUT class="form-control majuscule" TYPE="text" id="codeLocalite" NAME="codeLocalite" required AUTOCOMPLETE="OFF" autofocus value="<?= $this->nettoyer($localite['codeLocalite']); ?>" ></td>
|
|
|
|
<td width="5%" align="center" class="required">Libellé</td>
|
|
<td width="30%" ><INPUT class="form-control majuscule" TYPE="text" id="libelle" NAME="libelle" required AUTOCOMPLETE="OFF" value="<?= $this->nettoyer($localite['libelle']); ?>"></td>
|
|
|
|
<td width="5%" align="center" class="required">Pays</td>
|
|
<td width="20%">
|
|
<select name="codePays" id="codePays" class="form-control" required AUTOCOMPLETE="OFF" onchange="JAVASCRIPT:filtreVilleParPays();">
|
|
<?= liste_options($pays,$this->nettoyer($localite['codePays']),true) ?>
|
|
</select>
|
|
</td>
|
|
|
|
<td width="5%" align="center" class="required">Ville</td>
|
|
<td width="20%">
|
|
<div id="div_ville" width="100%">
|
|
<select name="codeVille" id="codeVille" class="form-control" required AUTOCOMPLETE="OFF" >
|
|
<?= liste_options($ville,$this->nettoyer($localite['codeVille']),true) ?>
|
|
</select>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</form>
|