17 lines
437 B
Twig
17 lines
437 B
Twig
{% extends "base.twig" %}
|
|
|
|
{% block title %}Modification du rôle{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<h1>Modifier un rôle</h1>
|
|
<form method="post">
|
|
<label for="name">Nom</label>
|
|
<input type="text" class="form-control" name="name" id="name" value="{{ role.name }}">
|
|
<input type="submit" class="btn btn-success" name="Enregistrer" value="Enregistrer" />
|
|
<input type="hidden" name="id" value="{{ role.id }}">
|
|
</form>
|
|
|
|
{% endblock %} |