From 4789909388221fd6520486892529a509c4b4074e Mon Sep 17 00:00:00 2001 From: Nicolas Dietrich Date: Fri, 4 Apr 2014 15:29:16 +0200 Subject: [PATCH] fix sectionpage assignment --- src/adhocracy/controllers/page.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/adhocracy/controllers/page.py b/src/adhocracy/controllers/page.py index 3669b6b43..dcad52946 100644 --- a/src/adhocracy/controllers/page.py +++ b/src/adhocracy/controllers/page.py @@ -55,8 +55,8 @@ class PageCreateForm(formencode.Schema): if_missing=False) container = validators.StringBool(not_empty=False, if_empty=False, if_missing=False) - section_page = validators.StringBool(not_empty=False, if_empty=False, - if_missing=False) + sectionpage = validators.StringBool(not_empty=False, if_empty=False, + if_missing=False) allow_comment = validators.StringBool(not_empty=False, if_empty=False, if_missing=False) allow_selection = validators.StringBool(not_empty=False, if_empty=False, @@ -92,8 +92,8 @@ class PageUpdateForm(formencode.Schema): category = formencode.foreach.ForEach(forms.ValidCategoryBadge()) formatting = validators.StringBool(not_empty=False, if_empty=False, if_missing=False) - section_page = validators.StringBool(not_empty=False, if_empty=False, - if_missing=False) + sectionpage = validators.StringBool(not_empty=False, if_empty=False, + if_missing=False) allow_comment = validators.StringBool(not_empty=False, if_empty=False, if_missing=False) allow_selection = validators.StringBool(not_empty=False, if_empty=False,