Sha256: c2cd5ccfc6c7e61ebbd33d695f50196162526f0cafae765875bb8247f243ba7e

Contents?: true

Size: 1.37 KB

Versions: 15

Compression:

Stored size: 1.37 KB

Contents

<%= render partial: "decidim/shared/filter_form_help", locals: { skip_to_id: "consultations" } %>

<%= 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("consultations.filters.search", scope: "decidim"),
                              title: t("consultations.filters.search", scope: "decidim"),
                              data: { disable_dynamic_change: true } %>
        <div class="input-group-button">
          <button type="submit" class="button" aria-controls="consultations">
            <%= icon "magnifying-glass", aria_label: t("consultations.filters.search", scope: "decidim"), role: "img" %>
          </button>
        </div>
      </div>
    </div>
  </div>

  <%= form.collection_radio_buttons :state,
                                    options_for_state_filter,
                                    :first,
                                    :last,
                                    { legend_title: t("consultations.filters.state", scope: "decidim") },
                                    "aria-controls": "consultations" %>

  <%= hidden_field_tag :order, order, id: nil, class: "order_filter" %>
<% end %>

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
decidim-consultations-0.24.3 app/views/decidim/consultations/consultations/_filters.html.erb
decidim-consultations-0.23.6 app/views/decidim/consultations/consultations/_filters.html.erb
decidim-consultations-0.24.2 app/views/decidim/consultations/consultations/_filters.html.erb
decidim-consultations-0.23.5 app/views/decidim/consultations/consultations/_filters.html.erb
decidim-consultations-0.24.1 app/views/decidim/consultations/consultations/_filters.html.erb
decidim-consultations-0.24.0 app/views/decidim/consultations/consultations/_filters.html.erb
decidim-consultations-0.24.0.rc2 app/views/decidim/consultations/consultations/_filters.html.erb
decidim-consultations-0.23.4 app/views/decidim/consultations/consultations/_filters.html.erb
decidim-consultations-0.24.0.rc1 app/views/decidim/consultations/consultations/_filters.html.erb
decidim-consultations-0.23.3 app/views/decidim/consultations/consultations/_filters.html.erb
decidim-consultations-0.23.2 app/views/decidim/consultations/consultations/_filters.html.erb
decidim-consultations-0.23.1 app/views/decidim/consultations/consultations/_filters.html.erb
decidim-consultations-0.23.1.rc1 app/views/decidim/consultations/consultations/_filters.html.erb
decidim-consultations-0.23.0 app/views/decidim/consultations/consultations/_filters.html.erb
decidim-consultations-0.22.0 app/views/decidim/consultations/consultations/_filters.html.erb