Sha256: a9dff4eb33afe1c0ea50d81f029f7e342d264d06c77975e7e54d585ba565ed7f
Contents?: true
Size: 977 Bytes
Versions: 9
Compression:
Stored size: 977 Bytes
Contents
.effective-datatables-filters{'aria-controls': datatable.to_param} = effective_form_with(model: datatable.filters_form, scope: :filters, url: (datatable._form[:url] || '#'), method: datatable._form[:verb], id: nil) do |form| .form-row.align-items-center - if datatable._scopes.present? = datatable_scope_tag(form, datatable) - datatable._filters.each do |name, opts| - if opts[:partial].present? = render(opts[:partial], form: form, f: form, datatable: datatable, name: name, opts: opts) - else = datatable_filter_tag(form, datatable, name, opts) .form-group.col-auto - if datatable._filters_form_required? = form.save t('effective_datatables.apply'), 'data-disable-with': t('effective_datatables.applying') - else = link_to t('effective_datatables.apply'), '#', class: 'btn btn-primary btn-effective-datatables-filters', 'data-apply-effective-datatables-filters': true
Version data entries
9 entries across 9 versions & 1 rubygems