Sha256: 44b8e7fef9bc176ae515b572396db098ad6ca8f5334f108c93e887075275e2c6

Contents?: true

Size: 1.27 KB

Versions: 8

Compression:

Stored size: 1.27 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"), 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>

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

  <% 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 %>
<% end %>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
decidim-meetings-0.23.6 app/views/decidim/meetings/meetings/_filters.html.erb
decidim-meetings-0.23.5 app/views/decidim/meetings/meetings/_filters.html.erb
decidim-meetings-0.23.4 app/views/decidim/meetings/meetings/_filters.html.erb
decidim-meetings-0.23.3 app/views/decidim/meetings/meetings/_filters.html.erb
decidim-meetings-0.23.2 app/views/decidim/meetings/meetings/_filters.html.erb
decidim-meetings-0.23.1 app/views/decidim/meetings/meetings/_filters.html.erb
decidim-meetings-0.23.1.rc1 app/views/decidim/meetings/meetings/_filters.html.erb
decidim-meetings-0.23.0 app/views/decidim/meetings/meetings/_filters.html.erb