Sha256: 4c1a538565052b9cb308ede1101b4a9b7def12ea74d32d0b6365c091a6fa790d

Contents?: true

Size: 455 Bytes

Versions: 32

Compression:

Stored size: 455 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

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

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

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
effective_events-2.29.1 app/views/effective/events/_form.html.haml
effective_events-2.29.0 app/views/effective/events/_form.html.haml
effective_events-2.28.3 app/views/effective/events/_form.html.haml
effective_events-2.28.2 app/views/effective/events/_form.html.haml
effective_events-2.28.1 app/views/effective/events/_form.html.haml
effective_events-2.28.0 app/views/effective/events/_form.html.haml
effective_events-2.27.0 app/views/effective/events/_form.html.haml
effective_events-2.26.0 app/views/effective/events/_form.html.haml
effective_events-2.25.1 app/views/effective/events/_form.html.haml
effective_events-2.25.0 app/views/effective/events/_form.html.haml
effective_events-0.24.0 app/views/effective/events/_form.html.haml
effective_events-0.23.1 app/views/effective/events/_form.html.haml
effective_events-0.23.0 app/views/effective/events/_form.html.haml
effective_events-0.22.2 app/views/effective/events/_form.html.haml
effective_events-0.22.1 app/views/effective/events/_form.html.haml
effective_events-0.22.0 app/views/effective/events/_form.html.haml
effective_events-0.21.3 app/views/effective/events/_form.html.haml
effective_events-0.21.2 app/views/effective/events/_form.html.haml
effective_events-0.21.1 app/views/effective/events/_form.html.haml
effective_events-0.21.0 app/views/effective/events/_form.html.haml