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