Code

- replaced the content() callback ickiness with Page Template macro usage
[roundup.git] / roundup / templates / classic / html / query.item
index 9e4f2fed83ffd1f7de04857878d4216f74000e4d..88b0a6e5a630ea984dac8f8c8ae5e409ac6a7e98 100755 (executable)
@@ -1,3 +1,9 @@
+<tal:block metal:use-macro="templates/page/macros/page">
+<title metal:fill-slot="head_title">Query editing</title>
+<td class="page-header-top" metal:fill-slot="body_title">
+ <h2>Query editing</h2>
+</td>
+<td class="content" metal:fill-slot="content">
 <span tal:condition="not:context/is_edit_ok">
 You are not allowed to view this page.
 </span>
@@ -5,3 +11,6 @@ You are not allowed to view this page.
 <span tal:condition="context/is_edit_ok"
       tal:content="structure context/renderQueryForm" />
 
+</td>
+
+</tal:block>