![]() ![]() | ![]() |
first import product fuer www des insitutes
1: <html> 2: <body> 3: <form method="POST" action="editMPIWGProject"> 4: <h2>Basis Information</h2> 5: <table> 6: <tr> 7: <td>Project Title</td> 8: <td><input tal:attributes="name python:'WEB_title'; value python:here.getContent('WEB_title')" size=100/></td> 9: </tr> 10: <tal:block tal:repeat="field here/getDataFields"> 11: <tr> 12: <td tal:content="field"/> 13: <td> <input tal:attributes="name field; value python:here.getContent(field)" size=100/></td> 14: </tr> 15: <tr tal:condition="python:here.isCheckField(field)"> 16: <td colspan=2> 17: <tal:block tal:define="checkList python:here.giveCheckList(here,field)"> 18: <tal:block repeat="item checkList/keys"> 19: <span tal:replace="item"/>: 20: <input tal:repeat="prop python:checkList[item]" 21: type="radio" 22: tal:attributes="name python:'val_%s'%field; value python:prop[0].getId()" 23: tal:content="python:prop[1]"/> 24: </tal:block> 25: <br> 26: </tal:block> 27: </td> 28: </tr> 29: </tal:block> 30: </table> 31: 32: 33: <input type="submit"> 34: </form> 35: </body> 36: </html>