prestation/Vue/Modifierprofil/index.php
2025-12-05 10:42:46 +00:00

45 lines
1.6 KiB
PHP
Executable File

<?php $this->titre = "INTER-SANTE - Modifier Profil"; ?>
<script type="text/javascript">
</script>
<form method="post" action="Modifierprofil/modifier">
<INPUT class="sr-only" TYPE="text" name = "idprofil" value="<?=$profil['id']?>">
<INPUT class="sr-only" TYPE="text" name = "oldcodeProfil" id = "oldcodeProfil" value="<?=$profil['codeProfil']?>">
<fieldset>
<legend> <?= _("Profil à Modifier") ?> </legend>
<table class="table table-responsive table-condensed">
<tbody>
<tr>
<td width="10%" >Code</td>
<td width="30%" ><INPUT class="form-control" TYPE="text" id="codeProfil" NAME="codeProfil" value="<?=$profil['codeProfil']?>" required AUTOCOMPLETE="OFF" ></td>
<td width="5%" > <?= _("Libellé") ?> </td>
<td><INPUT class="form-control" TYPE="text" id="libelle" NAME="libelle" value="<?=$profil['libelle']?>" required AUTOCOMPLETE="OFF" autofocus></td>
</tr>
<tr>
<td> <?= _("Profil Système") ?> </td>
<td>
<SELECT class="form-control" id="codeProfilSysteme" NAME="codeProfilSysteme" required AUTOCOMPLETE="OFF" >
<?php liste_options($profilsysteme,$profil['codeProfilSysteme']); ?>
</SELECT>
</td>
<td></td>
<td><input class = "form-control btn btn-primary" type="submit" value="<?= _("Enregistrer") ?>" /></td>
</tr>
</tbody>
</table>
</fieldset>
</form>
<?php if (isset($msgErreur)): ?>
<div class="alert alert-danger" style="height:38px; padding:5px;" >
<H4><?= $msgErreur ?></H4>
</div>
<?php endif; ?>