Sha256: b76e8c34b735010e7c36c9abac32a85da4a56c9bb6bded71f49ac7d133095caf
Contents?: true
Size: 1.63 KB
Versions: 6
Compression:
Stored size: 1.63 KB
Contents
<%= render partial: "decidim/shared/filter_form_help", locals: { skip_to_id: "collaborative_drafts" } %> <%= 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="collaborative_drafts"> <%= icon "magnifying-glass", aria_label: t(".search"), role: "img" %> </button> </div> </div> </div> </div> <%= form.check_boxes_tree :state, filter_collaborative_drafts_state_values, legend_title: t(".state"), "aria-controls": "collaborative_drafts" %> <% if linked_classes_for(Decidim::EnhancedTextwork::CollaborativeDraft).any? %> <%= form.collection_radio_buttons :related_to, linked_classes_filter_values_for(Decidim::EnhancedTextwork::CollaborativeDraft), :first, :last, { legend_title: t(".related_to") }, "aria-controls": "collaborative_drafts" %> <% end %> <% if current_component.has_subscopes? %> <%= form.check_boxes_tree :scope_id, filter_scopes_values, legend_title: t(".scope"), "aria-controls": "collaborative_drafts" %> <% end %> <% if current_component.categories.any? %> <%= form.check_boxes_tree :category_id, filter_categories_values, legend_title: t(".category"), "aria-controls": "collaborative_drafts" %> <% end %> <%= hidden_field_tag :order, order, id: nil, class: "order_filter" %> <% end %>
Version data entries
6 entries across 6 versions & 1 rubygems