Sorting Lists with handle option

Does anyone have an example of sortable_element using the handle option?

My Code:
<%= sortable_element ‘listorder’,
:update => ‘questions’,
:complete => visual_effect(:highlight, ‘listorder’),
:handle => ‘drag’,
:url => { :controller => ‘items’, :action => “order”, :item_id
=> session[:item_id]} if @edit %>

In this case is ‘drag’ class=‘drag’ on each handle?

It’s not working.
Thank You,

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs