Sha256: 024e37ee310e332ed6be1588f06dee936ee9185d8fb1321f3463449743fb347e

Contents?: true

Size: 1.4 KB

Versions: 7

Compression:

Stored size: 1.4 KB

Contents

<label class="text-medium mb-s"><%= t(".jump_to") %></label>
<% if params.dig(:filter, :with_resource_type).present? %>
  <p class="text-secondary">
    <%= link_to main_search_path do %>
      <%= icon "caret-left", class: "icon--small", role: "img", "aria-hidden": true %>&nbsp;<%= t(".back") %>
    <% end %>
  </p>
<% end %>
<%= render partial: "resources_filter_block", locals: { sections: @sections, types: Decidim::Searchable.searchable_resources_of_type_participant } %>
<%= render partial: "resources_filter_block", locals: { sections: @sections, types: Decidim::Searchable.searchable_resources_of_type_participatory_space } %>
<%= render partial: "resources_filter_block", locals: { sections: @sections, types: Decidim::Searchable.searchable_resources_of_type_component } %>
<%= render partial: "resources_filter_block", locals: { sections: @sections, types: Decidim::Searchable.searchable_resources_of_type_comment } %>
<div class="card card--secondary">
  <%= filter_form_for filter do |form| %>
    <%= scopes_picker_filter form, :decidim_scope_id_eq %>
    <%= form.hidden_field :term %>
  <% end %>
</div>
<div class="row collapse order-by">
  <div class="text-right">
    <span class="order-by__tabs">
      <%= search_path_by_state_link(:past) %>
      <%= search_path_by_state_link(:future) %>
      <%= search_path_by_state_link(:active) %>
      <%= search_path_by_state_link(nil) %>
    </span>
  </div>
</div>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
decidim-core-0.27.4 app/views/decidim/searches/_filters.html.erb
decidim-core-0.27.3 app/views/decidim/searches/_filters.html.erb
decidim-core-0.27.2 app/views/decidim/searches/_filters.html.erb
decidim-core-0.27.1 app/views/decidim/searches/_filters.html.erb
decidim-core-0.27.0 app/views/decidim/searches/_filters.html.erb
decidim-core-0.27.0.rc2 app/views/decidim/searches/_filters.html.erb
decidim-core-0.27.0.rc1 app/views/decidim/searches/_filters.html.erb