diff --git a/nipap-www/nipapwww/controllers/prefix.py b/nipap-www/nipapwww/controllers/prefix.py
index <HASH>..<HASH> 100644
--- a/nipap-www/nipapwww/controllers/prefix.py
+++ b/nipap-www/nipapwww/controllers/prefix.py
@@ -35,11 +35,11 @@ class PrefixController(BaseController):
         """ Add a prefix.
         """
 
+        c.prefix = Prefix()
+
         # pass prefix to template - if we have any
         if 'prefix' in request.params:
-            c.prefix = request.params['prefix']
-        else:
-            c.prefix = ''
+            c.prefix.prefix = request.params['prefix']
 
         c.search_opt_parent = "all"
         c.search_opt_child = "none"
Actually pre-fill prefix in /prefix/add

The previous code didn't create a Prefix object and instead passed a
string to the template that expected a Prefix object.