production/Vue/Ajaxtbmodifierlocalite/index.php
2025-12-01 16:12:12 +00:00

31 lines
1.6 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" >Code</td>
<td width="10%" ><INPUT class="form-control majuscule" TYPE="text" id="codeLocalite" NAME="codeLocalite" value="<?= $this->nettoyer($localite['codeLocalite']); ?>" disabled></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-select" 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-select" required AUTOCOMPLETE="OFF">
<?= liste_options($ville,$this->nettoyer($localite['codeVille']),true) ?>
</select>
</div>
</td>
</tr>
</tbody>
</table>
</form>