Created a generic form view, and moved form fields into controller.