File:  [Repository] / OSAS / OSA_system / zpt / contextDataMain.zpt
Revision 1.9: download - view: text, annotated - select for diffs - revision graph
Tue Nov 29 15:32:46 2005 UTC (18 years, 7 months ago) by dwinter
Branches: MAIN
CVS tags: HEAD
minor

    1: <html metal:use-macro="here/main_template/macros/page">
    2:   <body metal:fill-slot="body">
    3:     <h2>Add a document to a collection</h2>
    4:     <p>(<b>Bold face is required</b>,<i>Italics is optional</i>)</p>
    5:     <form action="addContextData2">
    6:       <h3>Select the collection or subcollection (required)</h3>
    7:       
    8:       <div tal:replace="structure python:here.XmlToTree(here.collection,getattr(here,'pwstr',''))"/>
    9:       <h3>Which type of View</h3>
   10:       <span tal:omit-tag="" tal:repeat="link python:here.REQUEST.SESSION['links']"> 
   11: 	<input type="radio" name="link" tal:attributes="value python:link[0]"><span tal:content="python:link[1]"/>
   12: 	<a tal:attributes="href python:link[0]" target="preview">(preview)</a><br>
   13:       </span>
   14:       <input type="hidden" name="path" tal:attributes="value python:here.REQUEST['path']"/>
   15: 	    
   16:       <h3>Additional Information</h3>
   17:       <table>
   18: 	<tr><td><i> Label: </i></td><td><input type="text" name="label" size="100"></td></tr>
   19: 	<tr><td><i> Description:</i></td><td><textarea name="description" cols="80" rows="5"></textarea></td></tr>
   20: 	<tr><td><i> Content-Type: </i></td><td><input type="text" name="content_type"></td></tr>
   21: 	<tr><td><i> Responsible: </i></td><td><input type="text" name="responsible"></td></tr>
   22: 	<tr><td><i> Weight: </i></td><td><input type="text" name="weight"></td></tr>
   23:       </table>
   24: 
   25:       <h3> Credits:</h3><br>
   26:       <div tal:omit-tag="" tal:repeat="item python:here.getPartners(here.collection)"> <input type="checkbox" name="credits"  tal:attributes="value python:item[0]"><span tal:content="python:repr(item[1])"/><br></div>
   27:             <input type="submit" value="submit"/>
   28:       </form>
   29:    </body>
   30:   </html>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>