Commit de84df13 authored by Mat's avatar Mat
Browse files

un peu de twig pour ces 2 _CR_ud

parent bbb94949
{% extends "@Asso/base.html.twig" %}
{% block body %}
<h2>Hello les associations</h2>
{% endblock %}
\ No newline at end of file
<a href="{{ path('asso_association_create') }}">Ajouter une association</a><br>
<a href="{{ path('asso_membre_create') }}">Ajouter un membre</a>
<ul>
{% for asso in associations %}
<li>
{{ asso.nom }}
</li>
{% endfor %}
</ul>
{% endblock %}
......@@ -4,5 +4,12 @@
{% block body %}
<h2>Hello les membres</h2>
{{ path(asso_membre_create) }}
{% endblock %}
\ No newline at end of file
<a href="{{ path('asso_membre_create') }}">Ajouter un membre</a>
<ul>
{% for membre in membres %}
<li>
{{ membre.nom }} {{ membre.prenom }} {{ membre.email }}
</li>
{% endfor %}
</ul>
{% endblock %}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment