separated the form preview elements into thier own views
cleaned up the code