newdesigngestionnaire/vues_newdesign/Ajaxtbmodifiertitre/index.php
2026-03-12 09:15:34 +00:00

76 lines
4.7 KiB
PHP
Executable File

<form id="formData" class="container-fluid p-0">
<input type="hidden" id="id" name="id" value="<?= $titre['id'] ?>">
<div class="card border-0 shadow-sm border-start border-4 border-primary" style="border-radius: var(--radius-md);">
<div class="card-header bg-white py-3 border-bottom">
<h6 class="mb-0 fw-bold text-uppercase text-warning small">
<i class="fas fa-edit me-2"></i><?= _("Modification des données du titre / civilité") ?>
</h6>
</div>
<div class="card-body bg-light-50 p-4">
<div class="row g-3 mb-4">
<div class="col-md-2">
<label class="form-label small fw-bold text-muted"><?= _("Code") ?></label>
<div class="input-group shadow-xs">
<span class="input-group-text bg-light border-2 border-end-0"><i class="fas fa-barcode text-muted"></i></span>
<input type="text" class="form-control border-2 border-start-0 majuscule fw-bold text-center"
id="codeTitre" name="codeTitre" value="<?= $this->nettoyer($titre['codeTitre']); ?>" readonly>
</div>
</div>
<div class="col-md-5">
<label class="form-label small fw-bold text-muted required"><?= _("Libellé (FR)") ?></label>
<div class="input-group shadow-xs">
<span class="input-group-text bg-white border-2 border-end-0"><i class="fas fa-user-tag text-muted"></i></span>
<input type="text" class="form-control border-2 border-start-0 majuscule"
id="libelle" name="libelle" required autocomplete="off"
value="<?= $this->nettoyer($titre['libelle']); ?>">
</div>
</div>
<div class="col-md-5">
<label class="form-label small fw-bold text-muted"><?= _("Titre Courrier (FR)") ?></label>
<div class="input-group shadow-xs">
<span class="input-group-text bg-white border-2 border-end-0"><i class="fas fa-envelope-open-text text-muted"></i></span>
<input type="text" class="form-control border-2 border-start-0 majuscule"
id="titreCourrier" name="titreCourrier" autocomplete="off"
value="<?= $this->nettoyer($titre['titreCourrier']); ?>">
</div>
</div>
</div>
<div class="row g-3">
<div class="col-md-2">
<label class="form-label small fw-bold text-muted"><?= _("Type Personne") ?></label>
<div class="input-group shadow-xs">
<span class="input-group-text bg-white border-2 border-end-0"><i class="fas fa-users text-muted"></i></span>
<select class="form-control selectpicker border-2 border-start-0" id="codeTypePersonne" name="codeTypePersonne">
<?php liste_options($typepersonne, $this->nettoyer($titre['codeTypePersonne']), true); ?>
</select>
</div>
</div>
<div class="col-md-5">
<label class="form-label small fw-bold text-muted"><?= _("Libellé (EN)") ?></label>
<div class="input-group shadow-xs">
<span class="input-group-text bg-white border-2 border-end-0"><i class="fas fa-language text-muted"></i></span>
<input type="text" class="form-control border-2 border-start-0 majuscule"
id="libelleEng" name="libelleEng" autocomplete="off"
value="<?= $this->nettoyer($titre['libelleEng']); ?>">
</div>
</div>
<div class="col-md-5">
<label class="form-label small fw-bold text-muted"><?= _("Titre Courrier (EN)") ?></label>
<div class="input-group shadow-xs">
<span class="input-group-text bg-white border-2 border-end-0"><i class="fas fa-envelope text-muted"></i></span>
<input type="text" class="form-control border-2 border-start-0 majuscule"
id="titreCourrierEng" name="titreCourrierEng" autocomplete="off"
value="<?= $this->nettoyer($titre['titreCourrierEng']); ?>">
</div>
</div>
</div>
</div>
</div>
</form>