mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
Use new config API for adding cms additions
This commit is contained in:
parent
b1d9481c57
commit
a126fb1630
@ -1,4 +1 @@
|
||||
<?php
|
||||
|
||||
LeftAndMain::require_javascript('userforms/javascript/FieldEditor.js');
|
||||
LeftAndMain::require_css('userforms/css/FieldEditor.css');
|
9
_config/userforms.yml
Normal file
9
_config/userforms.yml
Normal file
@ -0,0 +1,9 @@
|
||||
---
|
||||
name: userforms
|
||||
---
|
||||
LeftAndMain:
|
||||
extra_requirements_javascript:
|
||||
- userforms/javascript/FieldEditor.js
|
||||
|
||||
extra_requirements_css:
|
||||
- userforms/css/FieldEditor.css
|
Loading…
Reference in New Issue
Block a user