Refactor view with form helper.