I have a tabular (it’s a form actually) with text_fields and buttons.
I wanted to diplay a particular row when a button is set to ‘yes’.
Everything’s working fine except, that my new row is diplayed at the top
of the array and not where I want. I can do page.add_html/delete and
specify bottom, but I don’t understand why my snippet doesn’t work.
And the partial yes:
<% if @ruby -%>
With the rjs
page.replace_html ‘my_id’, :partial => ‘yes’
| Pierre-Alexandre M. |
| email : firstname.lastname@example.org |