prestation/Vue/Ajaxtbmodifiertypeaffection/index.php
2025-12-01 18:54:33 +00:00

23 lines
1.5 KiB
PHP

<form id="formData">
<legend id="titre_formData">Modification des données</legend>
<INPUT class="sr-only" TYPE="text" id = "id" name = "id" value="<?=$typeaffection['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="codeTypeAffection" NAME="codeTypeAffection" required AUTOCOMPLETE="OFF" autofocus value="<?= $this->nettoyer($typeaffection['codeTypeAffection']); ?>" ></td>
<td width="5%" align="center" class="required">Libellé</td>
<td width="25%" ><INPUT class="form-control majuscule" TYPE="text" id="libelle" NAME="libelle" required AUTOCOMPLETE="OFF" value="<?= $this->nettoyer($typeaffection['libelle']); ?>"></td>
<td width="10%" align="center">Libellé Eng</td>
<td width="25%" ><INPUT class="form-control majuscule" TYPE="text" id="libelleEng" NAME="libelleEng" value="<?= $this->nettoyer($typeaffection['libelleEng']); ?>"></td>
<td width="10%" align="center">Maladie Chronique</td>
<td width="5%">
<INPUT class="form-control" TYPE="checkbox" id="maladieChronique" NAME="maladieChronique" value="<?=(($this->nettoyer($typeaffection['maladieChronique'])==0)? 0 : 1);?>"<?=(empty($this->nettoyer($typeaffection['maladieChronique']))?'':'checked');?> onclick="if (this.checked) this.value=1; else this.value=0;" >
</td>
</tr>
</tbody>
</table>
</form>