There's plenty of examples out there explaining how to use
acts_as_list for drag and drop reordering, but my intentions for it
seem too simply to use the agility tutorial's setup.
I have a blog model. The blogs are displayed via the automatic rapid
setup, which I've listed below. All I want is to be able to list the
blogs on the blog index page with drag and drop reordering as
acts_as_list is supposed to allow me. How should I go about this? I
don't see how I would even want to use any belongs_to or has_many
here...
<def tag="index-page" for="Blog">
<page merge title="Blogs">
<body: class="index-page blog" param/>
<content: param>
<header param="content-header">
<h2 param="heading">Blogs</h2>
<p param="count" if>There <count prefix="are"/></p>
</header>
<section param="content-body">
<a action="new" to="&model" param="new-link"/>
<page-nav param="top-page-nav"/>
<collection param/>
<page-nav param="bottom-page-nav"/>
</section>
</content:>
</page>
</def>
thanks,
hobo_hippy
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Hobo
Users" 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/hobousers?hl=en
-~----------~----~----~----~------~----~------~--~---