[CMF-checkins] CVS: CMF/CMFDefault/skins/zpt_content - newsitem_edit_form.pt:1.3
Tres Seaver
tseaver@zope.com
Mon, 1 Apr 2002 13:17:15 -0500
Update of /cvs-repository/CMF/CMFDefault/skins/zpt_content
In directory cvs.zope.org:/tmp/cvs-serv11975/skins/zpt_content
Modified Files:
newsitem_edit_form.pt
Log Message:
- Add 'text_format' selection widget to NewsItem's edit forms (Tracker
#460).
=== CMF/CMFDefault/skins/zpt_content/newsitem_edit_form.pt 1.2 => 1.3 ===
<form action="newsitem_edit" method="post">
<table class="FormLayout">
+
<tr>
<th> Title
</th>
<td> <span tal:replace="here/Title">My Title</span> </td>
</tr>
+
+ <tr>
+ <th>
+ 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">structured-text</label>
+ <input type="radio" name="text_format" value="plain"
+ tal:attributes="checked python: path('here/text_format') == 'plain'" />
+ <label for="cb_html">plain text</label>
+ <input type="radio" name="text_format" value="html"
+ tal:attributes="checked python: path('here/text_format') == 'html'" />
+ <label for="cb_html">html</label>
+ </td>
+ </tr>
+
<tr>
<th class="TextField"> Lead-in </th>
<td class="TextField">
@@ -35,6 +55,7 @@
tal:content="here/EditableBody"></textarea>
</td>
</tr>
+
<tr>
<th> <br>
<td>
@@ -42,6 +63,7 @@
<input type="submit" name="choice" value=" Change and View ">
</td>
</tr>
+
</table>
</form>