If you set :accessible => true on the belongs_to, you should be able to just do
<with:user> <input:name/> ... etc ... </with> inside the form Tom On 6 Apr 2009, at 09:02, Andrzej Krzywda wrote: > > Hi all, > > We use Hobo (edge) and its lifecycle feature to display a wizard. > > The wizard consists of several steps, most of them are simply fields > of the object where we define the lifecycle. Thanks to Hobo, all of > the views were generated automatically and work fine. > > We added a belongs_to :user association to the model object. Now, Hobo > generates a drop-down and lets the user choose one of the options, > which is probably a good default for the belongs_to association most > of the time. What we want however is to let the user register (create > the user object) as part of the wizard (fill in the username, email, > passwords etc). > > I suppose we need to extend the application.dryml with a new > definition of register-form. I have tried some of the input-* tags, > but they all render the drop-down, based on the kind of association. > I'm sure it's somehow possible to let the user type the values and > have the User object automatically created and associated with the > main object, but I don't know how to do it. > > Any suggestions? > > Thanks, > Andrzej > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
