changed html form to form_tag