canaille-globuzma/canaille/templates/groups.html
Éloi Rivard cf9b5c11a3 Dynamic tables with htmx
- Search is triggered with user inputs
- Page changes are triggered with clicks
2023-03-09 19:31:59 +01:00

20 lines
634 B
HTML

{% extends theme('base.html') %}
{% import "macro/table.html" as table %}
{% block content %}
<div class="ui segment">
<a class="ui primary button" href="{{ url_for('groups.create_group') }}">{% trans %}Add a group{% endtrans %}</a>
</div>
<div class="ui segment">
<h2 class="ui center aligned header">
<div class="content">
{% trans %}Groups{% endtrans %}
</div>
</h2>
<div class="ui attached segment">
{{ table.search(table_form, "table.groups") }}
</div>
{% include "partial/groups.html" %}
</div>
{% endblock %}