[CMF-checkins] CVS: CMF/CMFDefault/skins/zpt_content - document_edit_form.pt:1.6.22.1 newsitem_edit_form.pt:1.6.22.1
Yvo Schubbe
schubbe@web.de
Fri, 6 Jun 2003 13:04:58 -0400
Update of /cvs-repository/CMF/CMFDefault/skins/zpt_content
In directory cvs.zope.org:/tmp/cvs-serv10106/CMFDefault/skins/zpt_content
Modified Files:
Tag: yuppie-buglets2-branch
document_edit_form.pt newsitem_edit_form.pt
Log Message:
- removed unused request/message
- fixed radio button labels
- whitespace cleanup
=== CMF/CMFDefault/skins/zpt_content/document_edit_form.pt 1.6 => 1.6.22.1 ===
--- CMF/CMFDefault/skins/zpt_content/document_edit_form.pt:1.6 Thu Mar 6 05:40:21 2003
+++ CMF/CMFDefault/skins/zpt_content/document_edit_form.pt Fri Jun 6 13:04:58 2003
@@ -4,6 +4,7 @@
<body>
<div metal:fill-slot="main" i18n:domain="cmf_default">
<div class="Desktop">
+
<h2 i18n:translate="">Edit <span
tal:replace="here/getId" i18n:name="objectid">My ID</span></h2>
@@ -21,57 +22,52 @@
<span tal:replace="here/Title">Title</span>
</td>
</tr>
-
<tr>
<th i18n:translate="">Description</th>
<td>
<span tal:replace="here/Description">Description</span>
</td>
</tr>
-
<tr>
<th i18n:translate="">Format</th>
<td>
- <input type="radio" name="text_format"
- value="structured-text"
- tal:attributes="checked python: path('here/text_format') == 'structured-text'" />
- <label for="cb_structuredtext" i18n:translate="">structured-text</label>
- <input type="radio" name="text_format" value="plain"
- tal:attributes="checked python: path('here/text_format') == 'plain'" />
- <label for="cb_html" i18n:translate="">plain text</label>
- <input type="radio" name="text_format" value="html"
- tal:attributes="checked python: path('here/text_format') == 'html'" />
+ <input type="radio" name="text_format" value="structured-text" id="cb_stx"
+ tal:attributes="
+ checked python:path('here/text_format')=='structured-text'" />
+ <label for="cb_stx" i18n:translate="">structured-text</label>
+ <input type="radio" name="text_format" value="plain" id="cb_plain"
+ tal:attributes="checked python:path('here/text_format')=='plain'" />
+ <label for="cb_plain" i18n:translate="">plain text</label>
+ <input type="radio" name="text_format" value="html" id="cb_html"
+ tal:attributes="checked python:path('here/text_format')=='html'" />
<label for="cb_html" i18n:translate="">html</label>
</td>
</tr>
-
<tr>
<th i18n:translate="">Upload</th>
<td>
<input type="file" name="file" size="25" />
</td>
</tr>
-
<tr>
<th class="TextField" i18n:translate="">Edit</th>
<td class="TextField">
<textarea name="text:text" rows="20" cols="80" wrap="soft"
- tal:content="here/EditableBody"></textarea>
+ tal:content="here/EditableBody"></textarea>
</td>
</tr>
-
<tr>
<td> <br /> </td>
<td>
- <input type="submit" name="change" value=" Change "
+ <input type="submit" name="change" value="Change"
i18n:attributes="value" />
- <input type="submit" name="change_and_view" value=" Change and View "
+ <input type="submit" name="change_and_view" value="Change and View"
i18n:attributes="value" />
</td>
</tr>
-
</table>
</form>
+
</div>
</div>
</body>
=== CMF/CMFDefault/skins/zpt_content/newsitem_edit_form.pt 1.6 => 1.6.22.1 ===
--- CMF/CMFDefault/skins/zpt_content/newsitem_edit_form.pt:1.6 Thu Mar 6 05:42:19 2003
+++ CMF/CMFDefault/skins/zpt_content/newsitem_edit_form.pt Fri Jun 6 13:04:58 2003
@@ -4,11 +4,6 @@
<body>
<div metal:fill-slot="main" i18n:domain="cmf_default">
<div class="Desktop">
-
-
-<span tal:replace="request/message"
- tal:condition="request/message|nothing"><hr /></span>
-
<div class="NewsItem">
<h2 i18n:translate="">Edit <span
@@ -18,28 +13,25 @@
tal:attributes="action string:${here/absolute_url}/newsitem_edit"
>
<table class="FormLayout">
-
<tr>
<th i18n:translate="">Title</th>
<td> <span tal:replace="here/Title">My Title</span> </td>
</tr>
-
<tr>
<th i18n:translate="">Format</th>
<td>
- <input type="radio" name="text_format"
- value="structured-text"
- tal:attributes="checked python: path('here/text_format') == 'structured-text'" />
- <label for="cb_structuredtext" i18n:translate="">structured-text</label>
- <input type="radio" name="text_format" value="plain"
- tal:attributes="checked python: path('here/text_format') == 'plain'" />
- <label for="cb_html" i18n:translate="">plain text</label>
- <input type="radio" name="text_format" value="html"
- tal:attributes="checked python: path('here/text_format') == 'html'" />
+ <input type="radio" name="text_format" value="structured-text" id="cb_stx"
+ tal:attributes="
+ checked python:path('here/text_format')=='structured-text'" />
+ <label for="cb_stx" i18n:translate="">structured-text</label>
+ <input type="radio" name="text_format" value="plain" id="cb_plain"
+ tal:attributes="checked python:path('here/text_format')=='plain'" />
+ <label for="cb_plain" i18n:translate="">plain text</label>
+ <input type="radio" name="text_format" value="html" id="cb_html"
+ tal:attributes="checked python:path('here/text_format')=='html'" />
<label for="cb_html" i18n:translate="">html</label>
</td>
</tr>
-
<tr>
<th class="TextField" i18n:translate="">Lead-in</th>
<td class="TextField">
@@ -54,17 +46,15 @@
tal:content="here/EditableBody"></textarea>
</td>
</tr>
-
<tr>
<td> <br /> </td>
<td>
- <input type="submit" name="change" value=" Change "
+ <input type="submit" name="change" value="Change"
i18n:attributes="value" />
- <input type="submit" name="change_and_view" value=" Change and View "
+ <input type="submit" name="change_and_view" value="Change and View"
i18n:attributes="value" />
</td>
</tr>
-
</table>
</form>