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.6.0 app/views/effective/events/_form.html.haml
effective_events-0.5.6 app/views/effective/events/_form.html.haml
effective_events-0.5.5 app/views/effective/events/_form.html.haml
effective_events-0.5.4 app/views/effective/events/_form.html.haml
effective_events-0.5.3 app/views/effective/events/_form.html.haml
effective_events-0.5.2 app/views/effective/events/_form.html.haml
effective_events-0.5.1 app/views/effective/events/_form.html.haml
effective_events-0.5.0 app/views/effective/events/_form.html.haml