Sha256: 68f1680a2a5dce53ad00ea6d5a038c803df270a022154bc3893cc1a3af1e4f07
Contents?: true
Size: 1.52 KB
Versions: 6
Compression:
Stored size: 1.52 KB
Contents
<%= render partial: "decidim/shared/filter_form_help", locals: { skip_to_id: "debates" } %> <%= 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="debates"> <%= icon "magnifying-glass", aria_label: t(".search"), role: "img" %> </button> </div> </div> </div> </div> <%= form.check_boxes_tree :state, filter_debates_state_values, legend_title: t(".state"), "aria-controls": "debates" %> <% if current_component.has_subscopes? %> <%= form.check_boxes_tree :scope_id, filter_scopes_values, legend_title: t(".scope"), "aria-controls": "debates" %> <% end %> <% if current_participatory_space.categories.any? %> <%= form.check_boxes_tree :category_id, filter_categories_values, legend_title: t(".category"), "aria-controls": "debates" %> <% end %> <%= form.check_boxes_tree :origin, filter_origin_values, legend_title: t(".origin"), "aria-controls": "debates" %> <% if current_user %> <%= form.collection_radio_buttons :activity, activity_filter_values, :first, :last, { legend_title: t(".activity") }, "aria-controls": "debates" %> <% end %> <%= hidden_field_tag :order, order, id: nil, class: "order_filter" %> <% end %>
Version data entries
6 entries across 6 versions & 1 rubygems