added form template and view