From 8ae9c7c07c0a23f26048d31eba922b9f67a24f1e Mon Sep 17 00:00:00 2001 From: DorsetDigital Date: Thu, 24 Jan 2019 10:27:38 +0000 Subject: [PATCH] Update 03_Form_Templates.md Add default location of default form template to help people who wish to copy it. --- docs/en/02_Developer_Guides/03_Forms/03_Form_Templates.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/en/02_Developer_Guides/03_Forms/03_Form_Templates.md b/docs/en/02_Developer_Guides/03_Forms/03_Form_Templates.md index 0b1576921..cbcbea220 100644 --- a/docs/en/02_Developer_Guides/03_Forms/03_Form_Templates.md +++ b/docs/en/02_Developer_Guides/03_Forms/03_Form_Templates.md @@ -22,6 +22,8 @@ Both `MyCustomTemplate.ss` and `MyCustomTextField.ss` should be located in **app It's recommended to copy the contents of the template you're going to replace and use that as a start. For instance, if you want to create a `MyCustomFormTemplate` copy the contents of `Form.ss` to a `MyCustomFormTemplate.ss` file and modify as you need. + +*The default Form.ss can be found in `/vendor/silverstripe/framework/templates/SilverStripe/Forms/Includes/`* By default, Form and Fields follow the SilverStripe Template convention and are rendered into templates of the same