<?php use App\Core\Csrf; ?>
<link rel="stylesheet" href="/public/assets/css/cda-v5-2-2.css">

<section class="page-intro">
<div>
<span class="page-kicker">Paramètres pédagogiques</span>
<h2>Modifier le pôle</h2>
</div>
<a class="button button-secondary"
href="/public/parametres/pedagogie#poles">Retour</a>
</section>

<form method="post"
action="/public/parametres/poles/modifier"
class="parameter-edit-card">
<?= Csrf::field() ?>
<input type="hidden" name="id" value="<?= (int)$pole['id'] ?>">

<label>
<span>Code *</span>
<input required maxlength="20" name="code"
value="<?= htmlspecialchars((string)$pole['code']) ?>">
</label>

<label>
<span>Libellé *</span>
<input required name="libelle"
value="<?= htmlspecialchars((string)$pole['libelle']) ?>">
</label>

<div class="sticky-actions">
<a class="button button-secondary"
href="/public/parametres/pedagogie#poles">Annuler</a>
<button class="button button-primary">Enregistrer</button>
</div>
</form>
