Hi Kevin,

I'm trying out your suggestion, but I'm sure the problem I'm having is
where to put that line of code. I'm assuming in the form for that
model.

Here's the form before trying your suggestion:
<def tag="form" for="NflGame">
  <form merge param="default">
    <error-messages param/>
    <field-list fields="name, winner, nfl_cals, nfl_teams" param/>
    <div param="actions">
      <submit label="#{ht
'nfl_game.actions.save', :default=>['Save']}" param/><or-cancel
param="cancel"/>
    </div>
  </form>
</def>


My first try, I stuck it here:
...
    <error-messages param/>
    <field-list fields="name, winner, nfl_cals, nfl_teams" param/>
    <input-many minimum="2" without-add-item without-remove-item />
    <div param="actions">
...

That got an undefined method error.

My second try didn't produce an error, but it also didn't change
anything:

    <field-list fields="name, winner, nfl_cals, nfl_teams" input-many
minimum="2" without-add-item without-remove-item param/>

Sorry for being such a noob. I'm floundering in the early stages of
wrapping my mind around how all the pieces fit together. Once I get to
that point my questions will be less stupid. But for now, I'm not even
sure where to look in the PDF doc.

Thanks again,

Charlie


> Wait, a quick glance at the tag and you might be able to get what you want
> by something like <input-many minimum="2" without-add-item
> without-remove-item /> Untested.

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

Reply via email to