Sha256: 9317395064b98a273a2396b39510f4908099f3cedcd36a4e678787ee24fddad7
Contents?: true
Size: 467 Bytes
Versions: 42
Compression:
Stored size: 467 Bytes
Contents
:ruby scope = options.delete(:scope) data_attributes = { 'acts-as-list-item': true, 'acts-as-list-item-uid': resource.to_param, 'acts-as-list-item-on-drop-target': url_for([:reposition, resource]) } data_attributes['acts-as-list-item-scope'] = "#{scope}-#{resource.send(scope)}" if scope.present? %span.btn.btn-sm.btn-xs.btn-default.acts-as-list-item{ data: data_attributes } %span.glyphicon.glyphicon-sort.fas.fa-sort
Version data entries
42 entries across 42 versions & 1 rubygems