update goups.html

This commit is contained in:
Mikkel
2022-05-26 15:18:58 +02:00
parent 4665e4e626
commit b51a84220c

View File

@ -1,6 +1,14 @@
{% extends "layout.html" %}
{% block content %}
{% for group in groups %}
<p>{{ group.name }}</p>
{% endfor %}
{% if groups|length == 0%}
<p>Ikke medlem af nogle grupper</p>
{% else %}
{% for group in groups %}
<div class="card">
<div class="card-body">
{{ group.name }}
</div>
</div>
{% endfor %}
{% endif %}
{% endblock content %}