created template for form generation when routed