Sha256: 9c779428c0d2333e5d483418bc8e9d4abe70653b94e0cb41bb4fdb08f19b6426

Contents?: true

Size: 1.66 KB

Versions: 7

Compression:

Stored size: 1.66 KB

Contents

<%= render partial: "decidim/shared/filter_form_help", locals: { skip_to_id: "meetings" } %>

<%= filter_form_for filter do |form| %>
  <div class="filters__section">
    <div class="filters__search">
      <div class="input-group">
        <%= form.search_field :search_text, label: false, class: "input-group-field", placeholder: t(".search"), title: t(".search"), "aria-label": t(".search"), data: { disable_dynamic_change: true } %>
        <div class="input-group-button">
          <button type="submit" class="button" aria-controls="meetings">
            <%= icon "magnifying-glass", aria_label: t(".search"), role: "img" %>
          </button>
        </div>
      </div>
    </div>
  </div>

  <%= form.hidden_field "state", value: params.dig("filter", "state") %>

  <% unless @forced_past_meetings %>
    <%= form.collection_radio_buttons :date, filter_date_values, :first, :last, legend_title: t(".date") %>
  <% end %>

  <%= form.check_boxes_tree :type, filter_type_values, legend_title: t(".type") %>

  <% if current_component.has_subscopes? %>
    <%= form.check_boxes_tree :scope_id, filter_scopes_values, legend_title: t(".scope") %>
  <% end %>

  <% if current_component.categories.any? %>
    <%= form.check_boxes_tree :category_id, filter_categories_values, legend_title: t(".category") %>
  <% end %>

  <% if component_settings.creation_enabled_for_participants? %>
    <%= form.check_boxes_tree :origin, filter_origin_values, legend_title: t(".origin") %>
  <% end %>

  <% if current_user %>
    <%= form.collection_radio_buttons :activity, activity_filter_values, :first, :last, { legend_title: t(".activity") }, "aria-controls": "meetings" %>
  <% end %>
<% end %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
decidim-meetings-0.26.10 app/views/decidim/meetings/meetings/_filters.html.erb
decidim-meetings-0.26.9 app/views/decidim/meetings/meetings/_filters.html.erb
decidim-meetings-0.26.8 app/views/decidim/meetings/meetings/_filters.html.erb
decidim-meetings-0.26.7 app/views/decidim/meetings/meetings/_filters.html.erb
decidim-meetings-0.26.5 app/views/decidim/meetings/meetings/_filters.html.erb
decidim-meetings-0.26.4 app/views/decidim/meetings/meetings/_filters.html.erb
decidim-meetings-0.26.3 app/views/decidim/meetings/meetings/_filters.html.erb