File:  [Repository] / MPIWGWeb / zpt / changeMPIWGRootForm.zpt
Revision 1.3: download - view: text, annotated - select for diffs - revision graph
Wed Feb 18 13:01:17 2009 UTC (15 years, 4 months ago) by dwinter
Branches: MAIN
CVS tags: HEAD
*** empty log message ***

    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:<br/>
   13: <input tal:attributes="value python:getattr(here,'title','')" name="title"/>
   14: </p>
   15: <p>Default language:<br/>
   16: <input tal:attributes="value python:getattr(here,'lang','en')" name="lang"/>
   17: </p>
   18: <p>Discipline list (seperated by CR)<br>
   19: <textarea name="disciplineList" cols=50 rows=20  tal:content="python:getattr(here,'disciplineList','')" ></textarea>
   20: </p>
   21: <p>Themes List (seperated by CR)<br>
   22: <textarea name="themesList" cols=50 rows=20 tal:content="python:getattr(here,'themesList','')"></textarea>
   23: </p>
   24: <p>
   25: <div class="form-element">
   26:     
   27:     <select name="connection_id">
   28:      
   29:      <tal:block tal:repeat="id python:here.SQLConnectionIDs()[0]">
   30:                 <option  tal:condition="python:getattr(here,'connection_id','')==id"  tal:attributes="value id" selected tal:content="id"/>
   31:                 <option  tal:condition="not:python:getattr(here,'connection_id','')==id"  tal:attributes="value id" tal:content="id"/>
   32:             </tal:block>
   33:     </select>
   34:     </div>
   35: 
   36: <input type="submit">
   37: </form>
   38: </div>
   39: </body>
   40: </html>

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