replace form_for with form_tag and restructure params