Here is the html for that section. So yes there is a hidden class on the li.
<li class="input-many-li empty hidden" id="machine_model_parts_-1_empty">
<!-- HACK way to signal an empty collection to the controller -->
<input class="empty-input" id="machine_model_parts"
name="machine_model[parts]" type="hidden" value="" disabled="disabled">
<div class="empty-message"> No records to display
</div>
<div class="buttons">
<button class="hidden remove-item"
id="machine_model_parts_-1_remove">-</button>
<button class="add-item"
id="machine_model_parts_-1_add">+</button>
</div>
</li>
I added the following to my front.scss and that fixed it. Though it might
be a bit heavy handed.
.hidden{
display:none;
}
Thanks
Bob
On Monday, October 8, 2012 2:53:55 PM UTC-4, Bryan Larsen wrote:
>
> I'm willing to bet that's a problem with hobo_bootstrap: Does the
> extraneous "No records to display" and add/remove buttons have a
> "hidden" class or something similar? If so, we need to add a CSS
> rule of display:none to that class in the hobo_bootstrap css.
>
> Bryan
>
>
> On Mon, Oct 8, 2012 at 1:38 PM, Bob Sleys <[email protected] <javascript:>>
> wrote:
> > See the attached screen shot. Note the extra +/- buttons and the text
> No
> > Records to Display by the Machines label. Obviousness there is a record
> to
> > display since it's right there in the screenshot. Note I didn't just
> added
> > that record but just opened the edit form. Below is the dryml code I'm
> > using for this form. I could very well have caused the problem in my
> code.
> >
> > <extend tag="form" for="Gym">
> > <old-form merge>
> > <field-list: replace>
> > <field-list columns="2" fields="name, phone, email, address"/>
> > <field-list columns="1" fields="notes"/>
> > <hr/>
> > <div class="row columns">
> > <div class="span12">
> > <single-field-list fields="machines">
> > <machines-view:>
> > <input-many>
> > <field-list size="8" columns="1" fields="machine_model,
> > serial_number, notes">
> > <machine_model-view:>
> > <select-one text-method="manufacturer_model"/>
> > </machine_model-view:>
> > </field-list>
> > </input-many>
> > </machines-view:>
> > </single-field-list>
> > </div>
> > </div>
> > </field-list:>
> > </old-form>
> > </extend>
> >
> > Bob
> >
> > --
> > You received this message because you are subscribed to the Google
> Groups
> > "Hobo Users" group.
> > To view this discussion on the web visit
> > https://groups.google.com/d/msg/hobousers/-/HFXhQmwktiMJ.
> > To post to this group, send email to [email protected]<javascript:>.
>
> > To unsubscribe from this group, send email to
> > [email protected] <javascript:>.
> > 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 view this discussion on the web visit
https://groups.google.com/d/msg/hobousers/-/A9_gWoppUJgJ.
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.