File:  [Repository] / MPIWGWeb / zpt / Attic / edit_MPIWGBasisNeu.zpt
Revision 1.1.2.3: download - view: text, annotated - select for diffs - revision graph
Thu Sep 15 12:57:41 2005 UTC (18 years, 9 months ago) by dwinter
Branches: r2
new editing environment for project pages

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
<!--
.add-nav {
font-weight:bold;
padding-left:8px;
}
-->
</style>
</head>
<body>
<h2>Edit: <i tal:content="python:here.getContent('WEB_title')"/></h2>
<p><a class="add-nav" href="edit">Project Description</a> <a class="add-nav" href="managePublications">Publications</a><a class="add-nav" href="manageImages">Images at the margin</a><a class="add-nav" href="editMPIWGDisciplinesThemesEditor">Themes and disciplines</a><a class="add-nav"
>Additional information</a></p>
<hr>

<h3>Edit Basis information</h3>
<form method="POST" action="editMPIWGProject">
<input type="hidden" name="fromEdit" value="yes"/>
<table>
<tr>
<td>Project Title</td>
<td><input tal:attributes="name python:'WEB_title'; value python:here.getContent('WEB_title')" size=100/></td>
</tr>
<tal:block tal:repeat="field here/getDataFields">
<tr>
<td tal:content="python:here.fieldLabels[field]"/>
<td> <input tal:attributes="name field; value python:here.getContent(field)" size=100/></td>
</tr>
<tr tal:condition="python:here.isCheckField(field)">
<td colspan=2 height="20">
<tal:block  tal:define="checkList python:here.giveCheckList(here,field)">
<tal:block  repeat="item checkList/keys">
<span tal:replace="item"/>:
<tal:block tal:condition="python:len(checkList[item])>0">
found
</tal:block>
<tal:block tal:condition="not:python:len(checkList[item])>0">
<font color="#ff0000">not found</font>
</tal:block>


<!--<input tal:repeat="prop python:checkList[item]" 
       type="radio" 
       tal:attributes="name python:'val_%s'%field; value python:prop[0].getId()" 
       tal:content="python:prop[1]"/>-->
</tal:block>
<br>
</tal:block>
</td>
</tr>
</tal:block>
</table>

  
<input type="submit" value="change">
</form>
</body>
</html>

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