Hello,

I have an acts_as_tree model (sortable by position) with an
active_scaffold controller defined like this :

  active_scaffold :category do |config|
    config.actions << :sortable

    config.columns = [:name, :children  ]
  end

The config.actions << :sortable let me reorder the first level of my
categories. Sub categories are displayed in a subform of the parent
category and I'm trying to let users reorder the subcategory inside
the category with active_scaffold_sortable_subform.

I've added :

  include ActiveScaffoldSortableSubforms
  active_scaffold_sortable_subform :category => :position

in my category_helper but no reorder buttons are displayed in the
subform.

Somebody has already implemented something similar ?

Regards
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/activescaffold?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to