partial being rendered outside of table format

You need to nest the table content inside <tr><td> ... </td></tr>
tags. It's not valid HTML otherwise.

Regards,

Ryan

I just realized that Firebug doesn't correctly display what content is
in what tags. The source file says this:

<tbody class = "fields">

<tr><label class="name"
for="echantillon_treatments_attributes_1_treatmenttype">type de
traitement</label>
<input id="echantillon_treatments_attributes_1_treatmenttype"
name="echantillon[treatments_attributes][1][treatmenttype]" size="30"
type="text" /></tr>

<tr><label class="name"
for="echantillon_treatments_attributes_1_treatmenttype">commentaires
sur la preparation</label>

<input id="echantillon_treatments_attributes_1_preparation"
name="echantillon[treatments_attributes][1][preparation]" size="30"
type="text" /></tr>

<tr><input id="echantillon_treatments_attributes_1__destroy"
name="echantillon[treatments_attributes][1][_destroy]" type="hidden" /

</tr>

<tr><input id="echantillon_treatments_attributes_1__destroy"
name="echantillon[treatments_attributes][1][_destroy]" type="hidden" /

<a href="#" onclick="remove_fields(this); return false;">remove</a></

>

</tbody>

while firebug says that the fields are actually outside of the <tr>
tags. Why would that be?

I think you have invalid html. I highly recommend installing the html
validator add-in for firefox as it checks my html as I develop the
app, making sure I do not make such errors. Also you can paste your
html into the w3c htlm validator (find with google if necessary) to
check it.

Colin