Sha256: d76f9ab6afa2be511879807f9c9e7844a1a3cb5b3e3a0c439be558c853aa520c

Contents?: true

Size: 441 Bytes

Versions: 23

Compression:

Stored size: 441 Bytes

Contents

:ruby
  data_attributes = {
    'awesome-nested-set-item':                true,
    'awesome-nested-set-item-uid':            resource.to_param,
    'awesome-nested-set-item-on-drop-target': url_for([:reposition, resource])
  }
  data_attributes['awesome-nested-set-item-scope'] = options[:scope].call(resource) if options[:scope].present?
%span.btn.btn-sm.btn-xs.btn-default.awesome-nested-set-item{ data: data_attributes }
  %i.fas.fa-sort

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
rao-component-0.0.52.pre app/views/rao/component/table/body_cells/_awesome_nested_set.html.haml
rao-component-0.0.51.pre app/views/rao/component/table/body_cells/_awesome_nested_set.html.haml
rao-component-0.0.50.pre app/views/rao/component/table/body_cells/_awesome_nested_set.html.haml
rao-component-0.0.49.pre app/views/rao/component/table/body_cells/_awesome_nested_set.html.haml
rao-component-0.0.48.pre app/views/rao/component/table/body_cells/_awesome_nested_set.html.haml
rao-component-0.0.47.pre app/views/rao/component/table/body_cells/_awesome_nested_set.html.haml
rao-component-0.0.46.pre app/views/rao/component/table/body_cells/_awesome_nested_set.html.haml
rao-component-0.0.45.pre app/views/rao/component/table/body_cells/_awesome_nested_set.html.haml
rao-component-0.0.44.pre app/views/rao/component/table/body_cells/_awesome_nested_set.html.haml
rao-component-0.0.43.pre app/views/rao/component/table/body_cells/_awesome_nested_set.html.haml
rao-component-0.0.42.pre app/views/rao/component/table/body_cells/_awesome_nested_set.html.haml
rao-component-0.0.41.pre app/views/rao/component/table/body_cells/_awesome_nested_set.html.haml
rao-component-0.0.40.pre app/views/rao/component/table/body_cells/_awesome_nested_set.html.haml
rao-component-0.0.39.pre app/views/rao/component/table/body_cells/_awesome_nested_set.html.haml
rao-component-0.0.38.pre app/views/rao/component/table/body_cells/_awesome_nested_set.html.haml
rao-component-0.0.37.pre app/views/rao/component/table/body_cells/_awesome_nested_set.html.haml
rao-component-0.0.36.pre app/views/rao/component/table/body_cells/_awesome_nested_set.html.haml
rao-component-0.0.35.pre app/views/rao/component/table/body_cells/_awesome_nested_set.html.haml
rao-component-0.0.34.pre app/views/rao/component/table/body_cells/_awesome_nested_set.html.haml
rao-component-0.0.33.pre app/views/rao/component/table/body_cells/_awesome_nested_set.html.haml