Fix product update form field display

This duplicates the relevant part of partials/form_fields.html. It fixes
two issues with the previous template code:
- hidden fields were displayed twice, one time even with a visible label
- checkboxes have their label after the checkbox