Hi!
I think you want to customise the "input-many". You can do it by doing
something like this:
<items-view:>
<input-many>
<field-list fields="name, address">
<name-label:>My custom name</name-label:>
</field-list>
</input-many>
</items-view:>
Please say if it doesn't work :)
Warm regards,
Ignacio
El 21-06-2015 a las 21:28, HuBandiT escribió:
> Greetings,
>
> Overview:
>
> I'm a beginner with Hobo, with some experience in Rails. I have a Hobo
> 2.1.1 app with the default bootstrap theme.
>
> I am facing this same problem:
> http://hobocentral.net/tutorials/42-customized-the-select-menus-in-a
>
> I am unsuccessful at adapting the suggested solution to my project
> however, and am seeking assistance.
>
> Details:
>
> I have two models in a has_many/belongs_to relationship. The
> AJAX-assisted nested edit form displays and functions correctly.
>
> However, I now need to customize the <select-one> for the belongs_to to
> raise the default 100 limit, and to add a custom query to limit the list
> of parents to the relevant ones.
>
> I was able to extend the "form" tag for the child to effect these
> changes, and those changes showed up on the form for the child. But the
> nested form of the parent did not change.
>
> I read through the DRYML tutorial, and then consulted the docs for
> <field-list> and <select-one> and <input-many> (including looking at
> their sources), but I'm hitting a wall and don't seem to be able to
> cross the line over into the nested form:
>
> <extend tag="form" for="Parent">
> <old-form merge>
> <field-list:>
> <items-view:>
> foobar
> </items-view:>
> </field-list:>
> </old-form>
> </extend>
>
> this sucessfully replaces the series of nested forms with the diagnostic
> string "foobar" - but I am unable to go deeper.
>
> Question:
>
> What parameter chain do I use to get inside the nested forms?
>
> Thank you kindly in advance for any pointers.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Hobo Users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to [email protected]
> <mailto:[email protected]>.
> To post to this group, send email to [email protected]
> <mailto:[email protected]>.
> Visit this group at http://groups.google.com/group/hobousers.
> For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Hobo
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/hobousers.
For more options, visit https://groups.google.com/d/optout.