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