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