web/views/startup.py
changeset 1495 4d6e9fe80378
parent 1494 d68aac1cda0d
child 1496 00f7ccd9a08b
--- a/web/views/startup.py	Fri Apr 24 17:15:28 2009 +0200
+++ b/web/views/startup.py	Mon Apr 27 10:02:58 2009 +0200
@@ -183,11 +183,12 @@
                    (html_escape(ajax_replace_url('detailed_schema', '', 'schema_security',
                                                  skipmeta=int(not withmeta))),
                 self.req._('security')))
-        self.w(u'<div id="detailed_schema"></div>')
+        self.w(u'<div id="detailed_schema">')
         if section:
             self.wview(section, None)
-           
-class SchemaPermissionsView(StartupView, SecurityViewMixIn):
+        self.w(u'</div>')
+    
+class SchemaPermissionsView(SchemaPermissionsView, SecurityViewMixIn):
     id = 'schema_security'
     require_groups = ('managers',)
     __selectors__ = StartupView.__selectors__ + (match_user_group,)