[form]: Get form working with CKAN 1.4.1 (formalchemy deprecated).
[form]: Get form working with CKAN 1.4.1 (formalchemy deprecated).

--- a/ckanext/exampletheme/package_form.py
+++ b/ckanext/exampletheme/package_form.py
@@ -22,7 +22,7 @@
 
     # Layout
     field_groups = OrderedDict([
-        (_('Basic information'), ['title', 'name', 'url',
+        (_('Customised Basic information'), ['title', 'name', 'url',
                                   'notes', 'tags']),
         (_('Details'), ['author', 'author_email', 'groups',
                         'maintainer', 'maintainer_email',

--- a/ckanext/exampletheme/plugin.py
+++ b/ckanext/exampletheme/plugin.py
@@ -87,5 +87,7 @@
                     '/user/register',
                     controller='ckanext.exampletheme.controller:CustomUserController',
                     action='custom_register')
+        map.connect('/package/new', controller='package_formalchemy', action='new')
+        map.connect('/package/edit/{id}', controller='package_formalchemy', action='edit')
         return map