Commit 2dfaf9e9 by Julien Jorry

Fix error on front not loggued

parent 86cfc65a
......@@ -10,11 +10,13 @@
</div>
<div class="modal-body">
<div class='row'>
{% for group in app.user.groups %}
<div class='col'>
<a role="button" class="btn btn-secondary text-nowrap" href='{{path('group_choice', {'id': group.id})}}'>{{ group.name|trans }}</a>
</div>
{% endfor %}
{% if app.user %}
{% for group in app.user.groups %}
<div class='col'>
<a role="button" class="btn btn-secondary text-nowrap" href='{{path('group_choice', {'id': group.id})}}'>{{ group.name|trans }}</a>
</div>
{% endfor %}
{% endif %}
</div>
</div>
{# <div class="modal-footer">
......
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