This commit is contained in:
parent
3322efcdf6
commit
5fd7c0e7f6
13 changed files with 583 additions and 258 deletions
|
|
@ -52,26 +52,12 @@
|
|||
query={@query}
|
||||
placeholder={gettext("Search...")}
|
||||
/>
|
||||
<form id="group-filter-form" phx-change="group_filter_changed" class="contents">
|
||||
<select
|
||||
name="group_filter"
|
||||
class="select select-bordered select-sm max-w-xs"
|
||||
aria-label={gettext("Filter by group")}
|
||||
>
|
||||
<option value="" selected={@group_filter == nil}>
|
||||
{gettext("All groups")}
|
||||
</option>
|
||||
<%= for group <- @groups do %>
|
||||
<option value={group.id} selected={@group_filter == to_string(group.id)}>
|
||||
{group.name}
|
||||
</option>
|
||||
<% end %>
|
||||
</select>
|
||||
</form>
|
||||
<.live_component
|
||||
module={MvWeb.Components.MemberFilterComponent}
|
||||
id="member-filter"
|
||||
cycle_status_filter={@cycle_status_filter}
|
||||
groups={@groups}
|
||||
group_filters={@group_filters}
|
||||
boolean_custom_fields={@boolean_custom_fields}
|
||||
boolean_filters={@boolean_custom_field_filters}
|
||||
member_count={length(@members)}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue