Sha256: 75379648c6c2a75b0d82a0c377e9975ac306beb8c6c5d0252b44143af347e7a8

Contents?: true

Size: 990 Bytes

Versions: 10

Compression:

Stored size: 990 Bytes

Contents

.effective-datatables-filters{'aria-controls': datatable.to_param}
  = simple_form_for :filters, url: (datatable._form[:url] || '#'), method: datatable._form[:verb], html: { class: 'form-inline' } do |form|
    - if datatable._scopes.present?
      .effective-datatables-filters-scopes
        = datatable_scope_tag(form, datatable)

    - if datatable._filters.present?
      .effective-datatables-filters-inputs
        - datatable._filters.each do |name, opts|
          = datatable_filter_tag(form, datatable, name, opts)

    - if datatable._scopes.present? || datatable._filters.present?
      .effective-datatables-filters-btn
        - if datatable._filters_form_required?
          = form.button :submit, t('effective_datatables.apply'), 'data-disable-with': t('effective_datatables.applying')
        - else
          = link_to t('effective_datatables.apply'), '#', class: 'btn btn-primary btn-sm btn-effective-datatables-filters', 'data-apply-effective-datatables-filters': true

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
effective_datatables-3.7.10 app/views/effective/datatables/_filters.html.haml
effective_datatables-3.7.9 app/views/effective/datatables/_filters.html.haml
effective_datatables-3.7.8 app/views/effective/datatables/_filters.html.haml
effective_datatables-3.7.7 app/views/effective/datatables/_filters.html.haml
effective_datatables-3.7.6 app/views/effective/datatables/_filters.html.haml
effective_datatables-3.7.5 app/views/effective/datatables/_filters.html.haml
effective_datatables-3.7.3 app/views/effective/datatables/_filters.html.haml
effective_datatables-3.7.2 app/views/effective/datatables/_filters.html.haml
effective_datatables-3.7.1 app/views/effective/datatables/_filters.html.haml
effective_datatables-3.7.0 app/views/effective/datatables/_filters.html.haml