Commit 2dfaf9e9 by Julien Jorry

Fix error on front not loggued

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