diff --git a/roundup/templates/classic/html/_generic.item b/roundup/templates/classic/html/_generic.item
index 8fcf6721978f31c409725afd01cb1fb611d30051..a9d2e859f4a6aa7bc905c91f97b925493560e5d9 100644 (file)
+<tal:block metal:use-macro="templates/page/macros/icing">
+<title metal:fill-slot="head_title"
+ tal:content="python:context._classname.capitalize()+' editing'"></title>
+<td class="page-header-top" metal:fill-slot="body_title">
+ <h2 tal:content="python:context._classname.capitalize()+' editing'"></h2>
+</td>
+<td class="content" metal:fill-slot="content">
+
<span tal:condition="python:not (context.is_view_ok() or context.is_edit_ok())">
You are not allowed to view this page.
</span>
</tr>
</table>
+</form>
<table class="form" tal:condition="context/is_only_view_ok">
<td tal:content="structure python:context[prop._name].field()"></td>
</tal:block>
</tr>
-<tr>
- <td> </td>
- <td colspan=3 tal:content="structure context/submit">
- submit button will go here
- </td>
-</tr>
</table>
<tal:block tal:condition="python:context.id and context.is_view_ok()">
<tal:block tal:replace="structure context/history" />
</tal:block>
+
+</td>
+
+</tal:block>