Table must be inside form_for to work in firefox and IE