Commit 22933c52 authored by okhin's avatar okhin 🚴

Filter the group the correct way

parent f8b7ad16
Pipeline #877 passed with stage
in 0 seconds
......@@ -8,10 +8,11 @@
</div>
<repeat group="{{ @group_types }}" value="{{ @group_type }}">
<div class="input-field">
<label for="{{ @group_type.name }}">{{ @group_type.name }}</label>
<select class="filter" id="{{ @group_type.name }}" name="{{ @group_type.name }}">
<repeat group="{{ @groups }}" value="{{ @group }}">
<check if="{{ @group.type == @group_type.name }}">
<option value="{{ @group.id }}">{{ @group.name }}</option>
</check>
</repeat>
</select>
</div>
......
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