Sha256: ee4801bbfec3bff4ab60ac693bad0d56a6df9305796ba1c16c227ef6d353fb69

Contents?: true

Size: 1.95 KB

Versions: 11

Compression:

Stored size: 1.95 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 :title_or_description_cont, label: false, class: "input-group-field", placeholder: t("decidim.meetings.meetings.filters.search"), title: t("decidim.meetings.meetings.filters.search"), "aria-label": t("decidim.meetings.meetings.filters.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("decidim.meetings.meetings.filters.search"), role: "img" %>
          </button>
        </div>
      </div>
    </div>
  </div>

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

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

  <%= form.check_boxes_tree :with_any_scope, directory_filter_scopes_values, legend_title: t("decidim.meetings.meetings.filters.scope") %>

  <%= form.check_boxes_tree :with_any_global_category, directory_filter_categories_values, legend_title: t("decidim.meetings.meetings.filters.category") %>

  <%= form.check_boxes_tree :with_any_origin, directory_filter_origin_values, legend_title: t("decidim.meetings.meetings.filters.origin") %>

  <%= form.check_boxes_tree :with_any_space, directory_meeting_spaces_values, legend_title: t("decidim.meetings.directory.meetings.index.space_type") %>

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

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
decidim-meetings-0.27.9 app/views/decidim/meetings/directory/meetings/_filters.html.erb
decidim-meetings-0.27.8 app/views/decidim/meetings/directory/meetings/_filters.html.erb
decidim-meetings-0.27.7 app/views/decidim/meetings/directory/meetings/_filters.html.erb
decidim-meetings-0.27.6 app/views/decidim/meetings/directory/meetings/_filters.html.erb
decidim-meetings-0.27.5 app/views/decidim/meetings/directory/meetings/_filters.html.erb
decidim-meetings-0.27.4 app/views/decidim/meetings/directory/meetings/_filters.html.erb
decidim-meetings-0.27.3 app/views/decidim/meetings/directory/meetings/_filters.html.erb
decidim-meetings-0.27.2 app/views/decidim/meetings/directory/meetings/_filters.html.erb
decidim-meetings-0.27.1 app/views/decidim/meetings/directory/meetings/_filters.html.erb
decidim-meetings-0.27.0 app/views/decidim/meetings/directory/meetings/_filters.html.erb
decidim-meetings-0.27.0.rc2 app/views/decidim/meetings/directory/meetings/_filters.html.erb