Sha256: 264e7677a7b88cd308b0dd6da7a6833796c30105f65268cd88800dcb237b3ff2

Contents?: true

Size: 1.47 KB

Versions: 19

Compression:

Stored size: 1.47 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"),
                              "aria-label": 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

19 entries across 19 versions & 1 rubygems

Version Path
decidim-consultations-0.26.10 app/views/decidim/consultations/consultations/_filters.html.erb
decidim-consultations-0.26.9 app/views/decidim/consultations/consultations/_filters.html.erb
decidim-consultations-0.26.8 app/views/decidim/consultations/consultations/_filters.html.erb
decidim-consultations-0.26.7 app/views/decidim/consultations/consultations/_filters.html.erb
decidim-consultations-0.26.5 app/views/decidim/consultations/consultations/_filters.html.erb
decidim-consultations-0.26.4 app/views/decidim/consultations/consultations/_filters.html.erb
decidim-consultations-0.26.3 app/views/decidim/consultations/consultations/_filters.html.erb
decidim-consultations-0.26.2 app/views/decidim/consultations/consultations/_filters.html.erb
decidim-consultations-0.26.1 app/views/decidim/consultations/consultations/_filters.html.erb
decidim-consultations-0.26.0 app/views/decidim/consultations/consultations/_filters.html.erb
decidim-consultations-0.26.0.rc2 app/views/decidim/consultations/consultations/_filters.html.erb
decidim-consultations-0.26.0.rc1 app/views/decidim/consultations/consultations/_filters.html.erb
decidim-consultations-0.25.2 app/views/decidim/consultations/consultations/_filters.html.erb
decidim-consultations-0.25.1 app/views/decidim/consultations/consultations/_filters.html.erb
decidim-consultations-0.25.0 app/views/decidim/consultations/consultations/_filters.html.erb
decidim-consultations-0.25.0.rc4 app/views/decidim/consultations/consultations/_filters.html.erb
decidim-consultations-0.25.0.rc3 app/views/decidim/consultations/consultations/_filters.html.erb
decidim-consultations-0.25.0.rc2 app/views/decidim/consultations/consultations/_filters.html.erb
decidim-consultations-0.25.0.rc1 app/views/decidim/consultations/consultations/_filters.html.erb