Sha256: a3bb9af58ce917d4af335ac44427e2288ce93f46347c0cabb82bcb998ae4b501

Contents?: true

Size: 454 Bytes

Versions: 8

Compression:

Stored size: 454 Bytes

Contents

.fields{ 'data-object-name' => f.object_name }
  %p
    - key = (f.object_name =~ /[0]/) ? :advanced_search_group_first : :advanced_search_group_rest
    = t(key, :combinator => f.combinator_select).html_safe

  .filters
    - f.object.build_condition unless f.object.conditions.any?
    = f.condition_fields do |c|
      = render 'ransack_ui/condition_fields', :f => c

    %p
      = link_to_add_fields t(:advanced_search_add_condition), f, :condition

Version data entries

8 entries across 8 versions & 1 rubygems

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