Sha256: f70369d274d1178b059dd01aac84690b037777a5746c16de40d7d06b9f8becf3
Contents?: true
Size: 624 Bytes
Versions: 16
Compression:
Stored size: 624 Bytes
Contents
.row .col-sm-12 = simple_form_for :scopes, url: request.path, method: :get, html: { class: 'form-inline' } do |form| - datatable.scopes.each do |name, options| - if options[:block].present? = form.instance_exec(form, &options[:block]) - elsif options[:partial].present? = render partial: options[:partial], locals: { form: form, f: form, datatable: datatable } - else = form.input name, options[:filter] = form.submit 'Submit', class: 'btn btn-primary', 'data-disable-with' => 'Submitting...' = link_to 'Reset', '#', 'data-reset-form' => true
Version data entries
16 entries across 16 versions & 1 rubygems