Update 03_Form_Templates.md

Add default location of default form template to help people who wish to copy it.
This commit is contained in:
DorsetDigital 2019-01-24 10:27:38 +00:00 committed by GitHub
parent 2b77e7041e
commit 8ae9c7c07c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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/`*
</div>
By default, Form and Fields follow the SilverStripe Template convention and are rendered into templates of the same