File:  [Repository] / MPIWGWeb / zpt / changeMPIWGRootForm.zpt
Revision 1.2: download - view: text, annotated - select for diffs - revision graph
Mon Apr 25 11:06:25 2005 UTC (19 years, 2 months ago) by dwinter
Branches: MAIN
CVS tags: r2, HEAD
Catalog aware projects

    1: <html>
    2: <head>
    3:    <title>The title</title>
    4: </head>
    5: <body>
    6: 
    7: <div>
    8: 
    9: <h1>Change MPIWGRoot</h1>
   10: <form method="post" action="changeMPIWGRoot">
   11: 
   12: <p>Title:</p>
   13: <input tal:attributes="value python:getattr(here,'title','')" name="title"/>
   14: <p>Discipline list (seperated by CR)<br>
   15: <textarea name="disciplineList" cols=50 rows=20  tal:content="python:getattr(here,'disciplineList','')" ></textarea>
   16: </p>
   17: <p>Themes List (seperated by CR)<br>
   18: <textarea name="themesList" cols=50 rows=20 tal:content="python:getattr(here,'themesList','')"></textarea>
   19: </p>
   20: <p>
   21: <div class="form-element">
   22:     
   23:     <select name="connection_id">
   24:      
   25:      <tal:block tal:repeat="id python:here.SQLConnectionIDs()[0]">
   26:                 <option  tal:condition="python:getattr(here,'connection_id','')==id"  tal:attributes="value id" selected tal:content="id"/>
   27:                 <option  tal:condition="not:python:getattr(here,'connection_id','')==id"  tal:attributes="value id" tal:content="id"/>
   28:             </tal:block>
   29:     </select>
   30:     </div>
   31: 
   32: <input type="submit">
   33: </form>
   34: </div>
   35: </body>
   36: </html>

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