Sha256: e0faf55294b04830341a59f05d535f08ac67dae0dca172aaaa38f204c64a82a0

Contents?: true

Size: 601 Bytes

Versions: 8

Compression:

Stored size: 601 Bytes

Contents

= search_form_for @ransack_search, :url => url_for(:action => :index), :html => {:method => :get, :class => "ransack_search"}, :remote => true do |f|

  :javascript
    if (window.Ransack == null) { window.Ransack = {}; }
    Ransack.alt_predicates_i18n = #{I18n.translate(:"ransack.predicates.alt", :default => {}).to_json}

  = f.grouping_fields do |g|
    = render 'ransack_ui/grouping_fields', :f => g

  %p
    = link_to_add_fields t(:advanced_search_add_group), f, :grouping

  %p
    = hidden_field_tag :distinct, '1'
    = hidden_field_tag :page, '1'
    = f.submit t(:advanced_search_submit)

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
ransack_ui-0.1.7 app/views/ransack_ui/_search.html.haml
ransack_ui-0.1.6 app/views/ransack_ui/_search.html.haml
ransack_ui-0.1.5 app/views/ransack_ui/_search.html.haml
ransack_ui-0.1.4 app/views/ransack_ui/_search.html.haml
ransack_ui-0.1.3 app/views/ransack_ui/_search.html.haml
ransack_ui-0.1.2 app/views/ransack_ui/_search.html.haml
ransack_ui-0.1.1 app/views/ransack_ui/_search.html.haml
ransack_ui-0.1.0 app/views/ransack_ui/_search.html.haml