Sha256: 5c2a930c7a60b9eb9d5dae74b29d5d97882d0b9a90562efe44b7d186689d8dd4
Contents?: true
Size: 1.37 KB
Versions: 12
Compression:
Stored size: 1.37 KB
Contents
<%= initiatives_filter_form_for filter do |form| %> <div class="filters__section"> <div class="filters__search"> <div class="input-group"> <%= form.search_field :search_text_cont, label: false, class: "input-group-field", placeholder: t(".search"), title: t(".search"), "aria-label": t(".search") %> <div class="input-group-button"> <button type="submit" class="button"> <%= icon "magnifying-glass", aria_label: t(".search"), role: "img" %> </button> </div> </div> </div> </div> <%= form.check_boxes_tree :with_any_state, filter_states_values, legend_title: t(".state") %> <%= form.check_boxes_tree :with_any_scope, filter_scopes_values, legend_title: t(".scope") %> <% unless single_initiative_type? %> <%= form.check_boxes_tree :with_any_type, filter_types_values, legend_title: t(".type") %> <% end %> <%= form.check_boxes_tree :with_any_area, filter_areas_values, legend_title: t(".area") %> <% if current_user %> <%= form.collection_radio_buttons :author, [["any", t(".any")], ["myself", t(".myself")]], :first, :last, legend_title: t(".author") %> <% end %> <%= hidden_field_tag :order, order, id: nil, class: "order_filter" %> <% end %>
Version data entries
12 entries across 12 versions & 1 rubygems