adjust petro template and add form template for custom form creation