- <div id="Desktop">
- <div metal:fill-slot="main">
- <form action="document_edit_form" method="post" enctype="multipart/form-data"
- tal:attributes="action string:${here/absolute_url}/document_edit_form">
- <table class="FormLayout">
- <tr>
- <td class="TextField" colspan="2" i18n:translate="">
- <div tal:define="inputname string:text; formname string:edit_form; inputvalue here/text" tal:omit-tag="">
- <div metal:use-macro="here/wysiwyg_support/macros/wysiwygEditorBox">
- Wysiwig Code
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <td colspan="2">
- <div metal:use-macro="here/wysiwyg_support/macros/textFormatSelector">
- Format box, if needed
- </div>
- </td>
- </tr>
- <!--
- <tr>
- <th nowrap="nowrap" i18n:translate="">External file</th>
- <td width="100%">
- <input type="file" name="file" size="25" />
- </td>
- </tr>
- -->
- <tr>
- <td><br /></td>
- <td width="100%">
- <input type="submit" name="change_and_view" value="Change and View" i18n:attributes="value" />
- </td>
- </tr>
- </table>
- </form>
- </div>
+ </div>
+ <div id="Desktop">
+ <div metal:fill-slot="main">
+ <form action="document_edit_form" method="post" enctype="multipart/form-data" tal:attributes="action string:${here/absolute_url}/document_edit_form">
+ <div tal:define="inputname string:text; formname string:edit_form; inputvalue here/text" tal:omit-tag="">
+ <div metal:use-macro="here/wysiwyg_support/macros/wysiwygEditorBox">
+ Wysiwig Code
+ </div>
+ </div>
+ <div>
+ <br/>
+ <input type="submit" name="change_and_view" value="Save" i18n:domain="plinn" i18n:attributes="value"/>
+ </div>
+ </form>