Sha256: d0c3b883ca0278759dc8dcad715f07685f54977533ec03979107452542fe85ca

Contents?: true

Size: 975 Bytes

Versions: 24

Compression:

Stored size: 975 Bytes

Contents

<%= 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') %>
        <div class="input-group-button">
          <button type="submit" class="button button--muted">
            <%= icon "magnifying-glass", aria_label: t('.search') %>
          </button>
        </div>
      </div>
    </div>
  </div>

  <% if current_organization.scopes.any? && !current_participatory_process.scope %>
    <%= form.collection_check_boxes :scope_id, search_organization_scopes, lambda {|scope| scope.id.to_s}, :name, legend_title: t('.scopes') %>
  <% end %>

  <% if current_feature.categories.any? %>
    <%= form.categories_select :category_id, current_feature.categories, legend_title: t('.category'), disable_parents: false, label: false, prompt: t('.category_prompt') %>
  <% end %>
<% end %>

Version data entries

24 entries across 24 versions & 2 rubygems

Version Path
decidim-results-0.4.4 app/views/decidim/results/results/_filters.html.erb
decidim-0.4.4 decidim-results/app/views/decidim/results/results/_filters.html.erb
decidim-results-0.4.3 app/views/decidim/results/results/_filters.html.erb
decidim-results-0.4.2 app/views/decidim/results/results/_filters.html.erb
decidim-results-0.4.1 app/views/decidim/results/results/_filters.html.erb
decidim-0.4.3 decidim-results/app/views/decidim/results/results/_filters.html.erb
decidim-0.4.2 decidim-results/app/views/decidim/results/results/_filters.html.erb
decidim-0.4.1 decidim-results/app/views/decidim/results/results/_filters.html.erb
decidim-results-0.4.0 app/views/decidim/results/results/_filters.html.erb
decidim-0.4.0 decidim-results/app/views/decidim/results/results/_filters.html.erb
decidim-results-0.3.2 app/views/decidim/results/results/_filters.html.erb
decidim-0.3.2 decidim-results/app/views/decidim/results/results/_filters.html.erb
decidim-results-0.3.1 app/views/decidim/results/results/_filters.html.erb
decidim-0.3.1 decidim-results/app/views/decidim/results/results/_filters.html.erb
decidim-results-0.3.0 app/views/decidim/results/results/_filters.html.erb
decidim-0.3.0 decidim-results/app/views/decidim/results/results/_filters.html.erb
decidim-results-0.2.0 app/views/decidim/results/results/_filters.html.erb
decidim-0.2.0 decidim-results/app/views/decidim/results/results/_filters.html.erb
decidim-results-0.1.0 app/views/decidim/results/results/_filters.html.erb
decidim-0.1.0 decidim-results/app/views/decidim/results/results/_filters.html.erb