Use new config API for adding cms additions

This commit is contained in:
Will Rossiter 2013-05-11 10:56:43 +12:00
parent b1d9481c57
commit a126fb1630
2 changed files with 9 additions and 3 deletions

View File

@ -1,4 +1 @@
<?php
LeftAndMain::require_javascript('userforms/javascript/FieldEditor.js');
LeftAndMain::require_css('userforms/css/FieldEditor.css');

9
_config/userforms.yml Normal file
View File

@ -0,0 +1,9 @@
---
name: userforms
---
LeftAndMain:
extra_requirements_javascript:
- userforms/javascript/FieldEditor.js
extra_requirements_css:
- userforms/css/FieldEditor.css