Sha256: 107902bee310e6d791844f9081818d53da8fef4f6552b9730f893d25a144e37e

Contents?: true

Size: 437 Bytes

Versions: 14

Compression:

Stored size: 437 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'] = scope.call(model) if options[:scope].present?
%span.btn.btn-xs.btn-default.awesome-nested-set-item{ data: data_attributes }
  %span.glyphicon.glyphicon-sort

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
rails-add_ons-3.0.0.pre1 app/views/component/table/body_cells/_awesome_nested_set.haml
rao-component-0.0.10.pre app/views/rao/component/table/body_cells/_awesome_nested_set.html.haml
rao-component-0.0.9.pre app/views/rao/component/table/body_cells/_awesome_nested_set.html.haml
rao-component-0.0.8.pre app/views/rao/component/table/body_cells/_awesome_nested_set.html.haml
rao-component-0.0.7.pre app/views/rao/component/table/body_cells/_awesome_nested_set.html.haml
rao-component-0.0.6.pre app/views/rao/component/table/body_cells/_awesome_nested_set.html.haml
rao-component-0.0.5.pre app/views/rao/component/table/body_cells/_awesome_nested_set.html.haml
rao-component-0.0.4.pre app/views/rao/component/table/body_cells/_awesome_nested_set.html.haml
rao-component-0.0.3.pre app/views/rao/component/table/body_cells/_awesome_nested_set.html.haml
rao-component-0.0.2.pre app/views/rao/component/table/body_cells/_awesome_nested_set.html.haml
rails-add_ons-2.2.1 app/views/component/table/body_cells/_awesome_nested_set.haml
rails-add_ons-2.2.0 app/views/component/table/body_cells/_awesome_nested_set.haml
rails-add_ons-2.1.1 app/views/component/table/body_cells/_awesome_nested_set.haml
rails-add_ons-2.1.0 app/views/component/table/body_cells/_awesome_nested_set.haml