Input_many inline / table

23 views
Skip to first unread message

tonym

unread,
Nov 22, 2012, 5:42:44 PM11/22/12
to hobo...@googlegroups.com
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 Input_many, so that it creates a table style list e.g.

Label A | Label B
-------------------------
Field A  |  Field B
Field A  |  Field B

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:>


Cheers, Anthony

tonym

unread,
Nov 23, 2012, 2:15:41 PM11/23/12
to hobo...@googlegroups.com
Figured this out, and in the light of day, it's pretty neat and easy in Hobo!...

<div>
  <div>
    <div class="in-many-date">Date</div>
    <div class="in-many-time">Start Time</div>
  </div>
  <input-many:event-times minimum="1" >
    <input:start-date class="in-many-date"/>
    <input:start-time class="in-many-time"/>
  </input-many>
</div>


Cheers, Anthony.
Reply all
Reply to author
Forward
0 new messages