Sha256: 1741c79852ffb3647d8158fea3d25a4a05c1aa19d57a9429d76dc593d3e509bb

Contents?: true

Size: 640 Bytes

Versions: 14

Compression:

Stored size: 640 Bytes

Contents

<div class="fields well" data-object-name="<%= f.object_name %>">
  <div class="combinator">
    <% key = (f.object_name =~ /[0]/) ? :group_first : :group_rest %>
    <% combinator = f.combinator_select({}, :class => 'ransack_combinator') %>
    <%= t("ransack.#{key}", :combinator => combinator).html_safe %>
  </div>

  <div class="filters">
    <% f.object.build_condition unless f.object.conditions.any? %>
    <%= f.condition_fields do |c| %>
      <%= render 'ransack_ui/condition_fields', :f => c, :options => options %>
    <% end %>

    <%= link_to_add_fields t('ransack.add_condition'), f, :condition, options %>
  </div>
</div>

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
ransack_ui-2.0.1 app/views/ransack_ui/_grouping_fields.html.erb
ransack_ui-2.0.0 app/views/ransack_ui/_grouping_fields.html.erb
fat_free_crm-0.19.0 vendor/gems/ransack_ui-1.3.4/app/views/ransack_ui/_grouping_fields.html.erb
ransack_ui-1.4.0 app/views/ransack_ui/_grouping_fields.html.erb
ransack_ui-1.3.4 app/views/ransack_ui/_grouping_fields.html.erb
ransack_ui-1.3.3 app/views/ransack_ui/_grouping_fields.html.erb
ransack_ui-1.3.2 app/views/ransack_ui/_grouping_fields.html.erb
ransack_ui-1.3.1 app/views/ransack_ui/_grouping_fields.html.erb
ransack_ui-1.3.0 app/views/ransack_ui/_grouping_fields.html.erb
ransack_ui-1.2.2 app/views/ransack_ui/_grouping_fields.html.erb
ransack_ui-1.2.1 app/views/ransack_ui/_grouping_fields.html.erb
ransack_ui-1.2.0 app/views/ransack_ui/_grouping_fields.html.erb
ransack_ui-1.1.0 app/views/ransack_ui/_grouping_fields.html.erb
ransack_ui-1.0.2 app/views/ransack_ui/_grouping_fields.html.erb