Sha256: 9a695036dbcc5c24db74e8905398208bd5e3da0eaee7b1e1bed0625950013a66

Contents?: true

Size: 894 Bytes

Versions: 24

Compression:

Stored size: 894 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_participatory_space.has_subscopes? %>
    <%= scopes_picker_filter form, :scope_id %>
  <% end %>

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

  <%= form.hidden_field :random_seed %>
<% end %>

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
decidim-budgets-0.18.1 app/views/decidim/budgets/projects/_filters.html.erb
decidim-budgets-0.17.2 app/views/decidim/budgets/projects/_filters.html.erb
decidim-budgets-0.18.0 app/views/decidim/budgets/projects/_filters.html.erb
decidim-budgets-0.17.1 app/views/decidim/budgets/projects/_filters.html.erb
decidim-budgets-0.16.1 app/views/decidim/budgets/projects/_filters.html.erb
decidim-budgets-0.17.0 app/views/decidim/budgets/projects/_filters.html.erb
decidim-budgets-0.16.0 app/views/decidim/budgets/projects/_filters.html.erb
decidim-budgets-0.15.2 app/views/decidim/budgets/projects/_filters.html.erb
decidim-budgets-0.15.1 app/views/decidim/budgets/projects/_filters.html.erb
decidim-budgets-0.15.0 app/views/decidim/budgets/projects/_filters.html.erb
decidim-budgets-0.14.4 app/views/decidim/budgets/projects/_filters.html.erb
decidim-budgets-0.14.3 app/views/decidim/budgets/projects/_filters.html.erb
decidim-budgets-0.14.2 app/views/decidim/budgets/projects/_filters.html.erb
decidim-budgets-0.14.1 app/views/decidim/budgets/projects/_filters.html.erb
decidim-budgets-0.13.1 app/views/decidim/budgets/projects/_filters.html.erb
decidim-budgets-0.12.2 app/views/decidim/budgets/projects/_filters.html.erb
decidim-budgets-0.13.0 app/views/decidim/budgets/projects/_filters.html.erb
decidim-budgets-0.12.1 app/views/decidim/budgets/projects/_filters.html.erb
decidim-budgets-0.13.0.pre1 app/views/decidim/budgets/projects/_filters.html.erb
decidim-budgets-0.12.0 app/views/decidim/budgets/projects/_filters.html.erb