added form_for and view helper