Sha256: 52835f0148d27e7dd14e4945265107787c1ac0dcb6a4c7bfce5c097055cac0ad

Contents?: true

Size: 417 Bytes

Versions: 8

Compression:

Stored size: 417 Bytes

Contents

- if filter
  = form_for OpenStruct.new(params[:filter]), :as => :filter, :html => {:class => "filter"}, :method => :get, :url => request.path do |f|
    - current_form(f) do 
      - filter.fields.each do |field|
        .field
          = render_component "lolita/configuration/field", :label, :field => field
          = render_component field

    %button{:type => "submit"}= ::I18n.t "lolita.filter.apply_button"

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
lolita-3.2.0.rc.17 app/views/components/lolita/configuration/filter/_display.html.haml
lolita-3.2.0.rc.16 app/views/components/lolita/configuration/filter/_display.html.haml
lolita-3.2.0.rc.14 app/views/components/lolita/configuration/filter/_display.html.haml
lolita-3.2.0.rc.13 app/views/components/lolita/configuration/filter/_display.html.haml
lolita-3.2.0.rc.12 app/views/components/lolita/configuration/filter/_display.html.haml
lolita-3.2.0.rc.11 app/views/components/lolita/configuration/filter/_display.html.haml
lolita-3.2.0.rc.10 app/views/components/lolita/configuration/filter/_display.html.haml
lolita-3.2.0.rc.9 app/views/components/lolita/configuration/filter/_display.html.haml