Commit 13cd5d68 authored by Mat's avatar Mat

AssoBundle Ajax/API mainDisplay: organise un menu custom et le placement du form

parent 373f5468
......@@ -4,6 +4,38 @@
Liste des membres (Ajax)
{% endblock %}
{% block menu %}
<div class="row">
<div class="col-6" style="margin-bottom: 3em;">
<h3>Menu</h3>
<ul class="fa-ul">
<li><span class="fa-li"><i class="fas fa-arrow-left"></i></span><a href="{{ path('techno_homepage') }}">Accueil</a></li>
<li><span class="fa-li"><i class="fas fa-th-list"></i></span><a href="{{ path('asso_association_read') }}">Les associations</a></li>
<li><span class="fa-li"><i class="fas fa-th-list"></i></span><a href="{{ path('asso_membre_read') }}">Les membres</a></li>
<hr>
<li>
<span class="fa-li"><i class="fas fa-plus"></i></span>
<a href="javascript: void(0);" class="btn-create">Ajouter un nouveau membre</a>
</li>
<li>
<span class="fa-li"><i class="fas fa-sync-alt"></i></span>
<a href="javascript: void(0);" class="btn-reload">Rafraichir la liste</a>
</li>
</ul>
</div>
<div class="col-6">
<a id="form-membre"></a>
<div class="hidden" style="margin: -3em 0;">
{{ form_start(formMembre) }}
{{ form_errors(formMembre) }}
{{ form_rest(formMembre) }}
{{ form_end(formMembre) }}
</div>
</div>
</div>
{% endblock %}
{% block body %}
<h2>{{ block('title') }}</h2>
<table id="maintab" class="table membres">
......
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