Sha256: a33159ddd65cb8107e1eec8b3d1e48db5affacdcbd38c7e972d9efff221b3395

Contents?: true

Size: 493 Bytes

Versions: 5

Compression:

Stored size: 493 Bytes

Contents

- if filter_scopes.any?
  %h2 Filters
  = form_tag url_for(), :method => :get, :class => 'form-stacked' do |f|
    - filter_scopes.each do |name, scope|
      .clear-fix
        = label_tag name
        = text_field_tag name, current_scopes[name]
    - boolean_scopes.each do |name, scope|
      = hidden_field_tag(name, 'true') if current_scopes[name]
    .actions
      = submit_tag "Filter", :class => 'btn'
      = link_to("Clear filters", url_for(current_boolean_scopes), :class => 'btn')

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
app_frame-0.6.1 app/views/application/_sidebar.html.haml
app_frame-0.5.8 app/views/application/_sidebar.html.haml
app_frame-0.5.7 app/views/application/_sidebar.html.haml
app_frame-0.5.6 app/views/application/_sidebar.html.haml
app_frame-0.5.5 app/views/application/_sidebar.html.haml