patrick
unread,Jun 17, 2008, 10:16:50 PM6/17/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to attribute_fu
Hi everyone,
I just got attribute_fu working in my app (how awesome it is!), and
the way my app is setup, its like this:
Project has many Releases, and Releases has may discs.
So I have my new.html.erb file which then points to a
_releases.html.erb for attribute_fu, and inside the releases, it
points to _discs.html.erb.. As of right now, I have add/remove links
that when clicked add/remove a project's release's disc... It's funny
functional and I can't express how awesome it is!
However, what I ultimately would like is to have a textfield which
will dynamically add/remove addiitonal disc form-fields based off of
the number typed into the textfield... The other thing I want to do
is be able to have the value of each field inside the last disc's form
be automatically copied over to the newly created form...
So I am hoping that someone here can point me in the right direction
as far as how I might be able to do both of these things
Thank you very much.
-patrick