created view for the form