title: Django hidden input being rendered as <td> in html
body: <p>I'm using a modelformset to allow the user to add/edit/delete food item's on their restaurant's menu.</p>
  <pre><code>FoodItemFormset = modelformset_factory(FoodItem, fields = '__all__', can_delete = True)
  </code></pre>
  <p>I'm then iterating over all of the forms in my template and displaying them in a table:</p>
  <pre><code>  &lt;table&gt;
      &lt;tr&gt;
        &lt;th&gt;Food Item&lt;/th&gt;
        &lt;th&gt;&lt;/th&gt; &lt;!-- empty &lt;th&gt; lines up with hidden input field --&gt;
        &lt;th&gt;Delete&lt;/th&gt;
      &lt;/tr&gt;
      {% for form in food_formset  %}
        &lt;tr&gt;
          {% for field in form %}
            &lt;td&gt;{{ field }}&lt;/td&gt;
          {% endfor %}
        &lt;/tr&gt;
      {% endfor %}
    &lt;/table&gt;
    &lt;input type=&quot;submit&quot; name=&quot;&quot; value=&quot;Submit&quot;&gt;
  </code></pre>
  <p>However, that <code>can_delete</code> attribute does not only lead to a checkbox being rendered, it also renders the hidden field containing the object's id as an actual table element, leading to an empty gutter between the tables contents.</p>
  <pre><code>&lt;td&gt;&lt;input type=&quot;text&quot; name=&quot;form-0-name&quot; value=&quot;Mozzarella Sticks&quot; maxlength=&quot;200&quot; id=&quot;id_form-0-name&quot;&gt;&lt;/td&gt;
  &lt;td&gt;&lt;input type=&quot;hidden&quot; name=&quot;form-0-id&quot; value=&quot;2&quot; id=&quot;id_form-0-id&quot;&gt;&lt;/td&gt; &lt;!-- this just looks like an empty gutter --&gt;
  &lt;td&gt;&lt;input type=&quot;checkbox&quot; name=&quot;form-0-DELETE&quot; id=&quot;id_form-0-DELETE&quot;&gt;&lt;/td&gt;
  </code></pre>
  <p>Is there a way to get around this? Thanks for any help.</p>