Hi all,

I have a model set up with acts-as-list, where the items in the list are 
movable using drag-and-drop. So far so good. However, this specific list 
should be numbered. So, the quick-minded suggest adding the position to the 
card. Well, that's all dandy, but drag-n-dropping the items does not update 
the cards themselves. So, I *could* write a javascript that updates these 
numbers on every drag-n-drop operation. But, that seems overkill when 
exchanging the collection UL with an OL would do the trick.

But, what is the "slickest" way to change the collection? I know I can 
change the child-collection from the automatic generated show-page for the 
list. Would that be the best approach you think?

Regards,
Ronny

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/hobousers/-/Z_3Vzpj_HRcJ.
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/hobousers?hl=en.

Reply via email to