enorme push
This commit is contained in:
17
tpCrudTwig/templates/roles/edit.twig
Normal file
17
tpCrudTwig/templates/roles/edit.twig
Normal file
@@ -0,0 +1,17 @@
|
||||
{% 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 %}
|
||||
Reference in New Issue
Block a user