Initial commit

This commit is contained in:
Crizomb 2025-06-28 12:17:52 +02:00
commit 3bc898dd10
130 changed files with 25918 additions and 0 deletions

View file

@ -0,0 +1,22 @@
{% extends 'base.html.twig' %}
{% block title %}Éditer {{membre_fractal.pseudo}}{% endblock %}
{% block main %}
{% if 'ROLE_ADMIN' in app.user.roles %}
<h1>Éditer {{membre_fractal.pseudo}}</h1>
{{ include('membre_fractal/_form.html.twig', {'button_label': 'Update'}) }}
<a href="{{ path('app_membre_fractal_index') }}", class="btn btn-primary">Retour à la liste</a>
{{ include('membre_fractal/_delete_form.html.twig') }}
{% else %}
<h1>Éditer mon profil</h1>
{{ include('membre_fractal/_form.html.twig', {'button_label': 'Update'}) }}
<a href="{{ path('app_membre_fractal_show',{'id':membre_fractal.id}) }}", class="btn btn-primary">Retour au profil</a>
{% endif %}
{% endblock %}