Sha256: 311751794a2fe535a33914c8a4709717a54b93e05999467b6cd5c24ec28c2001
Contents?: true
Size: 314 Bytes
Versions: 19
Compression:
Stored size: 314 Bytes
Contents
.btn-group - {down: :right, up: :left}.each_pair do |a, b| - sibling = item.send(b.to_s+'_sibling') - if sibling and item.move_possible?(sibling) = link_to "/admin/#{item.class.to_s.demodulize.downcase.pluralize}/move/#{a}/#{item.id}", class: 'btn btn-mini' do %i{class: "icon-arrow-#{a}"}
Version data entries
19 entries across 19 versions & 3 rubygems