Sha256: e941ebbeb46aeb8bfc00d2f02e32a85feeee564d97c5d764d30ef081819320f0
Contents?: true
Size: 1.01 KB
Versions: 27
Compression:
Stored size: 1.01 KB
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, authenticity_token: datatable._filters_form_required?) 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
27 entries across 27 versions & 1 rubygems