or-cancel is simply a thin wrapper around `<a>`, so it has all of the behaviour of a as well as the behaviour documented in the cookbook. In your case, you can just use it in "dumb mode": <or-cancel href="&root_path"/>
Bryan On Sat, Jul 21, 2012 at 1:49 PM, [email protected] <[email protected]> wrote: > I would like the cancel button in a new-for-user form to take the user to > the root of my front-site. > > I see examples for passing an object or collection to or-cancel, but I don't > see a way to specify a page. > > I have an inkling of defining a home-page method for users, but that is > probably needlessly complicated. > > Any ideas from the group? > > Thanks so much! > > Pd > > -- > 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/-/77vdGVX13ZEJ. > 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. -- 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.
