Sha256: 769d20de4624879b2d91756674884b342dab4c23653d65202cd8b6efb99d89e8
Contents?: true
Size: 1.34 KB
Versions: 19
Compression:
Stored size: 1.34 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, 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 :state, filter_states_values, legend_title: t(".state") %> <%= form.check_boxes_tree :scope_id, filter_scopes_values, legend_title: t(".scope") %> <% unless single_initiative_type? %> <%= form.check_boxes_tree :type_id, filter_types_values, legend_title: t(".type") %> <% end %> <%= form.check_boxes_tree :area_id, 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
19 entries across 19 versions & 1 rubygems