Sha256: 0fcee422e6b1b23a6ad6ea68cdaf905690bffccf5522b442b5c91bb21cd0939c

Contents?: true

Size: 832 Bytes

Versions: 14

Compression:

Stored size: 832 Bytes

Contents

<%= filter_form_for filter do |form| %>
  <div class="filters-controls">
    <div class="filters__section">
      <div class="filters__search">
        <div class="input-group">
          <%= form.search_field :term, label: false, class: "input-group-field", placeholder: t(".search") %>
          <div class="input-group-button">
            <button type="submit" class="button button--muted">
              <%= icon "magnifying-glass", aria_label: t(".search") %>
            </button>
          </div>
        </div>
      </div>
    </div>

      <%= form.collection_radio_buttons :resource_type,searchable_resources_as_options(t("all", scope: "decidim.search.filter")), :first, :last, legend_title: t("component", scope: "decidim.search.filter") %>

      <%= scopes_picker_filter form, :decidim_scope_id %>
  </div>
<% end %>

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
decidim-core-0.15.2 app/views/decidim/searches/_filters.html.erb
decidim-core-0.15.1 app/views/decidim/searches/_filters.html.erb
decidim-core-0.15.0 app/views/decidim/searches/_filters.html.erb
decidim-core-0.14.4 app/views/decidim/searches/_filters.html.erb
decidim-core-0.14.3 app/views/decidim/searches/_filters.html.erb
decidim-core-0.14.2 app/views/decidim/searches/_filters.html.erb
decidim-core-0.14.1 app/views/decidim/searches/_filters.html.erb
decidim-core-0.13.1 app/views/decidim/searches/_filters.html.erb
decidim-core-0.12.2 app/views/decidim/searches/_filters.html.erb
decidim-core-0.13.0 app/views/decidim/searches/_filters.html.erb
decidim-core-0.12.1 app/views/decidim/searches/_filters.html.erb
decidim-core-0.13.0.pre1 app/views/decidim/searches/_filters.html.erb
decidim-core-0.12.0 app/views/decidim/searches/_filters.html.erb
decidim-core-0.12.0.pre app/views/decidim/searches/_filters.html.erb