Sha256: ff8651e2fd070f814f5515061fca15d081c15b5c8cbf4d5f1aaf6d8a9794fadc
Contents?: true
Size: 786 Bytes
Versions: 10
Compression:
Stored size: 786 Bytes
Contents
= content_tag :fieldset, { class: 'fields condition', 'data-object-name' => f.object_name } do .row .col-sm-2 = f.attribute_fields do |a| - klass = f.object.context.object - options = {} - options = klass.ransack_options[:attribute_select] if klass.respond_to? :ransack_options = content_tag(:span, a.attribute_select(options), { class: 'fields', 'data-object-name' => a.object_name }, false) .col-sm-2 = f.predicate_select only: %i(gteq lteq eq_any_splitted cont_any_splitted), compounds: false .col-sm-7 = f.value_fields do |v| = render 'comable/admin/shared/value_fields', f: v .col-sm-1.text-center = button_to_remove_fields Comable.t('admin.remove_search_condition'), class: 'comable-remove-button'
Version data entries
10 entries across 10 versions & 2 rubygems