I'm not sure why the book does it that way, perhaps because the standard field-list in 1.3 was not very flexible. In 1.4 we've mainlined a tag called feckless-fieldset, which is much more flexible.
http://cookbook-1.4.hobocentral.net/tagdef/hobo_rapid/lists/feckless-fieldset The labels for it should be translated by default. You can translate anything by using the t tag: <t key="activerecord.attributes.fragment.title">Title</t> Bryan On Tue, Apr 24, 2012 at 6:11 AM, Matthias Leihs <[email protected]> wrote: > Hi, > > I stumbled over that one: > > If one extends a form like > > --- snip --- > <extend tag="form" for ="Fragment"> > <old-form merge> > <error-messages param/> > <input:body/> > <div style="float:left;"> > <input:lat/><br/> > <input:long/><br/> > <input:closest_matching_address/><br/> > </div> > <div style="float:right;"> > <div id="mapCanvas"></div> > </div> > <div param="actions"> > <submit label="Save" param/><or-cancel param="cancel"/> > </div> > </old-form> > </extend> > --- snap --- > > The labels/helper comments are missing. Rapid Rails 3 with Hobo, page > 198 recommends adding the labels like this > > <p><b>Title</b></p> > <p><input:title/><p/><br/><br/> > > but this kills the i18n & helper approach. Is there a tag that can be > used to pull the right label/helper comment from the i18n structure? > > Best regards > > Matthias > > -- > 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. > -- 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.
