adding form fields to views