[CMF-checkins] CVS: CMF/CMFDefault/skins/zpt_content - full_metadata_edit_form.pt:1.3.6.1

Tres Seaver tseaver@zope.com
Wed, 10 Jul 2002 10:58:50 -0400


Update of /cvs-repository/CMF/CMFDefault/skins/zpt_content
In directory cvs.zope.org:/tmp/cvs-serv28691/CMFDefault/skins/zpt_content

Modified Files:
      Tag: CMF-1_3-branch
	full_metadata_edit_form.pt 
Log Message:

  
    - Repair free-form subject entry on 'full_metadata_edit_form' (was
      merging all keywords onto the same line, plus soft-wrapping!)


=== CMF/CMFDefault/skins/zpt_content/full_metadata_edit_form.pt 1.3 => 1.3.6.1 ===
 
  <tr valign="top">
   <th align="right"> Subject </th>
-  <td>
-   <textarea name="subject:lines" rows="3"
-               cols="20" wrap="soft"
-			   tal:define="lines here/subjectsList"><span tal:repeat="line lines" tal:replace="line"></span></textarea>
+  <td tal:define="subj_lines python: modules['string'].join(
+                                         here.subjectsList(), '\n' )">
+     <textarea name="subject:lines" rows="3" cols="20"
+	           tal:content="subj_lines"></textarea>
  <br> 
    <select name="subject:list" multiple>
      <option value=""