Sha256: 4c1a538565052b9cb308ede1101b4a9b7def12ea74d32d0b6365c091a6fa790d

Contents?: true

Size: 455 Bytes

Versions: 46

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

46 entries across 46 versions & 1 rubygems

Version Path
effective_events-2.31.4 app/views/effective/events/_form.html.haml
effective_events-2.31.3 app/views/effective/events/_form.html.haml
effective_events-2.31.2 app/views/effective/events/_form.html.haml
effective_events-2.31.1 app/views/effective/events/_form.html.haml
effective_events-2.31.0 app/views/effective/events/_form.html.haml
effective_events-2.30.3 app/views/effective/events/_form.html.haml
effective_events-2.30.2 app/views/effective/events/_form.html.haml
effective_events-2.30.1 app/views/effective/events/_form.html.haml
effective_events-2.30.0 app/views/effective/events/_form.html.haml
effective_events-2.29.6 app/views/effective/events/_form.html.haml
effective_events-2.29.5 app/views/effective/events/_form.html.haml
effective_events-2.29.4 app/views/effective/events/_form.html.haml
effective_events-2.29.3 app/views/effective/events/_form.html.haml
effective_events-2.29.2 app/views/effective/events/_form.html.haml
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