added custom view templates and form view