Hi - I have a strange thing happening in my app. I’m trying to replace a
table row with a form row using link_to_remote and form_for. In my index
view I have a call to edit:
I just tried testing with vendor_3 to see if this works. The action
generates the form in the page source, but it isn’t visible on the
actual page. I can see the form tag using firebug (it appears faded, as
though display:none – when it’s not), but for some reason which eludes
me, it’s invisible in the browser:
I checked and it doesn’t have any other visibility css rules and such…
Any clues what’s happening?
or the following should work, although I’d consider just writing a
different
partial (_edit_vendor) to render the <% else %> block, and I’d also
just duplicate the closing in each block, trading an extra
line of code for a self-contained table row.