Réalisation finale
This commit is contained in:
26
templates/membre/_form.html.twig
Normal file
26
templates/membre/_form.html.twig
Normal file
@@ -0,0 +1,26 @@
|
||||
{{ form_start(form) }}
|
||||
<div class="mb-3">
|
||||
{{ form_label(form.nom) }}
|
||||
{{ form_widget(form.nom) }}
|
||||
{{ form_errors(form.nom) }}
|
||||
</div>
|
||||
|
||||
<div class="mb-3">
|
||||
{{ form_label(form.prenom) }}
|
||||
{{ form_widget(form.prenom) }}
|
||||
{{ form_errors(form.prenom) }}
|
||||
</div>
|
||||
|
||||
<div class="mb-3">
|
||||
{{ form_label(form.email) }}
|
||||
{{ form_widget(form.email) }}
|
||||
{{ form_errors(form.email) }}
|
||||
</div>
|
||||
|
||||
<div class="d-flex gap-2">
|
||||
<button type="submit" class="btn btn-success">
|
||||
<i class="fas fa-save"></i> {{ button_label|default('Enregistrer') }}
|
||||
</button>
|
||||
<a href="{{ path('app_membre_index') }}" class="btn btn-secondary">Annuler</a>
|
||||
</div>
|
||||
{{ form_end(form) }}
|
||||
Reference in New Issue
Block a user