File:  [Repository] / ECHO_content / zpt / ChangeECHO_resource.zpt
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Mon Feb 9 11:45:46 2004 UTC (20 years, 3 months ago) by dwinter
Branches: MAIN
CVS tags: HEAD
new structure

<html>
  <body>
    <h2>Change Resource</h2>
    <form name="form" action="changeECHO_resource">
      <table>
      <tr><td><b> Title: </b></td><td><input type="text" name="title" tal:attributes="value here/title"></td></tr>
      <tr><td><b> Label: </b></td><td><input type="text" name="label" tal:attributes="value here/label"></td></tr>
      <tr><td><b> Link: </b></td><td><input type="text" name="link" tal:attributes="value here/link"></td></tr>
      <tr><td><b> MetaLink: </b></td><td><input type="text" name="metalink" tal:attributes="value here/metalink"></td></tr>
      <tr><td><b> Weight </b></td><td><input type="text" name="weight" tal:attributes="value here/weight"></td></tr>

      <tr><td><b> Description:</b></td><td><textarea name="description" tal:content="here/description"></textarea></td></tr>
      <tr><td><b> Content-Type: </b></td><td><input type="text" name="content_type" tal:attributes="value here/content_type"></td></tr>
      <tr><td><b> Responsible: </b></td><td><input type="text" name="responsible" tal:attributes="value here/responsible"></td></tr>
	</table>

      
	<h4>Coords</h4>           
      <table>
      <tr tal:repeat="coord python:here.getCoords()"><td><b> Coords: </b></td><td><input type="text" name="coords" tal:attributes="value coord" size=40></td></tr>
</table>
<h4>View Type</h4>
<p tal:repeat="viewClass here/viewClassificationList">

<input tal:condition="python:here.getViewClassification()==viewClass" type="radio" name="viewClassification" tal:attributes="value viewClass" tal:content="viewClass" checked/>

<input tal:condition="not:python:here.getViewClassification()==viewClass" type="radio" name="viewClassification" tal:attributes="value viewClass" tal:content="viewClass"/>

</p>

      <b> Credits:</b><br>	       
      <div tal:repeat="item here/partners/getPartners">
	
	<div tal:condition="python:item.getId() in here.getCredits()">
	  
	  <input type="checkbox" name="credits" tal:attributes="value item/id" tal:content="item/title" checked/>
	</div>
	<div tal:condition="not:python:item.getId() in here.getCredits()">
		<input type="checkbox" name="credits" tal:attributes="value item/id" tal:content="item/title"/>
	</div>

      </div>
<input type="submit" value="Change"><br><br>

    </form>
  </body>
</html>

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