activescaffold/active_scaffold — Issue #79: draggable_list renders as checkboxes
Author: hmasing
Created: 2011-10-13 17:26:59+00:00
State: open

Rails 3.1, AS 3.1.5 using Jquery.

Controller:

```ruby
class Admin::FunctionsController < RestrictedAccessController
active_scaffold :function do |config|
config.list.label = 'System Functions'
config.list.per_page = 50
config.list.always_show_search = true

config.list.columns = [:name, :permissions, :roles, :updated_at]
config.update.columns = [:name, :roles]
config.create.columns = [:name, :roles]

config.columns[:name].label = 'Function'

config.columns[:permissions].form_ui = :select
config.columns[:permissions].options = {:draggable_lists => true}
config.columns[:permissions].clear_link

config.columns[:roles].form_ui = :select
config.columns[:roles].options = {:draggable_lists => true}
config.columns[:roles].clear_link

# config.actions.exclude :create
config.actions.exclude :show
# config.actions.exclude :update
# config.actions.exclude :delete
end
end
```

Output shown in attached screenshot:

https://img.skitch.com/20111013-tjubu3phsa5sjyd11ui95rg5bg.jpg

Any ideas what I may be doing wrong, or is this a genuine issue?

Thanks!