Sha256: 80057ff5a095e719269793891268d578e1f4f078b7280d48e943292a79da280b

Contents?: true

Size: 1.19 KB

Versions: 28

Compression:

Stored size: 1.19 KB

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>

  <% unless @forced_past_meetings %>
    <%= form.collection_radio_buttons :date, [["upcoming", t(".upcoming")], ["past", t(".past")]], :first, :last, legend_title: t(".date") %>
  <% end %>

  <% if current_participatory_space.has_subscopes? %>
    <%= form.scopes_select :scope_id, legend_title: t(".scopes"), label: false, prompt: t('.scope_prompt'), remote_path: decidim.scopes_search_path(root: current_participatory_space.scope, include_root: true), multiple: true %>
  <% 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

28 entries across 28 versions & 2 rubygems

Version Path
decidim-meetings-0.8.4 app/views/decidim/meetings/meetings/_filters.html.erb
decidim-meetings-0.8.3 app/views/decidim/meetings/meetings/_filters.html.erb
decidim-meetings-0.8.2 app/views/decidim/meetings/meetings/_filters.html.erb
decidim-meetings-0.8.1 app/views/decidim/meetings/meetings/_filters.html.erb
decidim-meetings-0.8.0 app/views/decidim/meetings/meetings/_filters.html.erb
decidim-meetings-0.7.4 app/views/decidim/meetings/meetings/_filters.html.erb
decidim-meetings-0.7.3 app/views/decidim/meetings/meetings/_filters.html.erb
decidim-meetings-0.7.2 app/views/decidim/meetings/meetings/_filters.html.erb
decidim-meetings-0.7.1 app/views/decidim/meetings/meetings/_filters.html.erb
decidim-meetings-0.7.0 app/views/decidim/meetings/meetings/_filters.html.erb
decidim-meetings-0.6.8 app/views/decidim/meetings/meetings/_filters.html.erb
decidim-0.6.8 decidim-meetings/app/views/decidim/meetings/meetings/_filters.html.erb
decidim-meetings-0.6.7 app/views/decidim/meetings/meetings/_filters.html.erb
decidim-0.6.7 decidim-meetings/app/views/decidim/meetings/meetings/_filters.html.erb
decidim-meetings-0.6.6 app/views/decidim/meetings/meetings/_filters.html.erb
decidim-0.6.6 decidim-meetings/app/views/decidim/meetings/meetings/_filters.html.erb
decidim-meetings-0.6.5 app/views/decidim/meetings/meetings/_filters.html.erb
decidim-0.6.5 decidim-meetings/app/views/decidim/meetings/meetings/_filters.html.erb
decidim-meetings-0.6.4 app/views/decidim/meetings/meetings/_filters.html.erb
decidim-0.6.4 decidim-meetings/app/views/decidim/meetings/meetings/_filters.html.erb