On Thu, Nov 22, 2012 at 5:41 PM, tonym <[email protected]> wrote:
> Bit of a basic questions I know, but it's late and I'm kinda stuck!...
> Is there a neat way to build the dryml for a Has_many, so that it creates a
> table style list e.g.
I don't think there's any reason you cannot use Hobo's table tag
inside a field-list view.
>
> Also, I'm using bootstrap, which seems to create tons of divs.
> How do I strip down to just the inputs, inline, without labels?
> For info, here's my code (nothing special)...
>
> <event-times-view:>
> <input-many minimum="1" >
> <field-list fields="start_date, start_time, end_time, special_note"
> class="horizontal" />
> </input-many>
> </event-times-view:>
If you're using 2.0.0.pre6, that should work better if you do it like this:
<event-times-view:>
<input-many minimum="1" >
<field-list: fields="start_date, start_time, end_time,
special_note" class="horizontal" />
</input-many>
</event-times-view:>
There's only a subtle difference, there is a colon on the field-list.
Without the colon you're doing a replace rather than a merge.
I hear you about the plethora of div's. I'm really surprised that
bootstrap's form-horizontal style needs so many. You can try using
`one-line-field-list`, `feckless-fieldset` or `field-list-v1` instead
of field-list if you don't like the styling that happens with the
colon.
Bryan
--
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.