Sha256: e5742671b2f4fda2dbd700e85bfa1e41c61af27645607c55512f657b13885726

Contents?: true

Size: 479 Bytes

Versions: 48

Compression:

Stored size: 479 Bytes

Contents

= effective_form_with(scope: :q, model: event_search, method: :get, url: request.path) do |f|
  - if f.object.term.present?
    = f.search_field :term, label: 'Term'

  /= f.radios :category, EffectiveEvents.categories, buttons: true

  - f.object.order ||= Effective::EventSearch::ORDERS.first
  = f.radios :order, Effective::EventSearch::ORDERS, buttons: true

  = f.save('Search', class: 'btn btn-primary btn-search mr-3', name: nil)
  = link_to 'Reset filters', request.path

Version data entries

48 entries across 48 versions & 1 rubygems

Version Path
effective_events-0.18.0 app/views/effective/events/_form.html.haml
effective_events-0.17.0 app/views/effective/events/_form.html.haml
effective_events-0.16.0 app/views/effective/events/_form.html.haml
effective_events-0.15.1 app/views/effective/events/_form.html.haml
effective_events-0.15.0 app/views/effective/events/_form.html.haml
effective_events-0.14.2 app/views/effective/events/_form.html.haml
effective_events-0.14.1 app/views/effective/events/_form.html.haml
effective_events-0.14.0 app/views/effective/events/_form.html.haml
effective_events-0.13.1 app/views/effective/events/_form.html.haml
effective_events-0.13.0 app/views/effective/events/_form.html.haml
effective_events-0.11.3 app/views/effective/events/_form.html.haml
effective_events-0.11.2 app/views/effective/events/_form.html.haml
effective_events-0.11.1 app/views/effective/events/_form.html.haml
effective_events-0.11.0 app/views/effective/events/_form.html.haml
effective_events-0.10.2 app/views/effective/events/_form.html.haml
effective_events-0.10.1 app/views/effective/events/_form.html.haml
effective_events-0.10.0 app/views/effective/events/_form.html.haml
effective_events-0.9.3 app/views/effective/events/_form.html.haml
effective_events-0.9.2 app/views/effective/events/_form.html.haml
effective_events-0.9.1 app/views/effective/events/_form.html.haml