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

Version Path
effective_datatables-2.6.15 app/views/effective/datatables/_scopes.html.haml
effective_datatables-2.6.14 app/views/effective/datatables/_scopes.html.haml
effective_datatables-2.6.13 app/views/effective/datatables/_scopes.html.haml
effective_datatables-2.6.12 app/views/effective/datatables/_scopes.html.haml
effective_datatables-2.6.11 app/views/effective/datatables/_scopes.html.haml
effective_datatables-2.6.10 app/views/effective/datatables/_scopes.html.haml
effective_datatables-2.6.9 app/views/effective/datatables/_scopes.html.haml
effective_datatables-2.6.8 app/views/effective/datatables/_scopes.html.haml
effective_datatables-2.6.7 app/views/effective/datatables/_scopes.html.haml
effective_datatables-2.6.6 app/views/effective/datatables/_scopes.html.haml
effective_datatables-2.6.5 app/views/effective/datatables/_scopes.html.haml
effective_datatables-2.6.4 app/views/effective/datatables/_scopes.html.haml
effective_datatables-2.6.3 app/views/effective/datatables/_scopes.html.haml
effective_datatables-2.6.2 app/views/effective/datatables/_scopes.html.haml
effective_datatables-2.6.1 app/views/effective/datatables/_scopes.html.haml
effective_datatables-2.6.0 app/views/effective/datatables/_scopes.html.haml