Annotation of MPIWGWeb/zpt/editTeaching.zpt, revision 1.1.2.2

1.1.2.2 ! casties     1: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
        !             2:           "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
1.1.2.1   dwinter     3: <html metal:use-macro="here/mainEditFile/macros/page">
1.1.2.2 ! casties     4: <body>
        !             5:   <tal:block metal:fill-slot="navsel" tal:define="global selected python:'teaching'"/>
1.1.2.1   dwinter     6: 
                      7: <tal:block metal:fill-slot="body" tal:define="yes_no_list python:'yes\nno'">
                      8:    <form action="changeResearch" method="post">
                      9:      <input type="hidden" name="id_main" tal:attributes="value person/id">
                     10:      <input type="hidden" name="main_fields" value="teaching__title">
                     11:      <table tal:define="founds2 python:here.ZSQLInlineSearch(_table='teaching',id_main=person.id)">
                     12:      <tr class="fliesstext" tal:repeat="found2 python:here.sortPriority(founds2)">
                     13:             <td valign="top">
                     14:          <input tal:attributes="name python:'teaching__date__'+str(found2.oid); 
                     15:                     value found2/date" size="10"/>
                     16:        </td>
                     17: 
                     18:             <td>
                     19:          <input tal:attributes="name python:'teaching__title__'+str(found2.oid); 
                     20:                     value found2/title" size="80"/>
                     21: 
                     22:             <br>
                     23:          <input tal:attributes="name python:'teaching__place__'+str(found2.oid); 
                     24:                     value found2/place" size="80"/>
                     25:             <br>
                     26:          <input tal:attributes="name python:'teaching__link__'+str(found2.oid); 
                     27:                     value found2/link" size="80"/>
                     28: 
                     29:        </td>
                     30: 
                     31:        <td valign="top">
                     32:          <input tal:attributes="name python:'teaching__priority__'+str(found2.oid);
                     33:                     value found2/priority" size="3"/>
                     34:        </td>
                     35:        <td valign="top" tal:content="structure python:here.ZSQLSelectionFromCRList(
                     36:                 'teaching__published__'+str(found2.oid),
                     37:                 yes_no_list,
                     38:                 boxType='radio',
                     39:                 checked=found2.published)"/>
                     40:        <td>
                     41:          <a tal:attributes="href python:'deleteField?table=teaching&oid=%s'%found2.oid">delete</a>
                     42:        </td>
                     43:     </tr>
                     44:     <tr colspan="4">
                     45:       <td>Add new</td>
                     46:     </tr>
                     47:     <tr>
                     48:       <td valign="top">
                     49:          <input tal:attributes="name python:'teaching__date__new'" size="10"/>
                     50:        </td>
                     51:       <td>
                     52:          <input tal:attributes="name python:'teaching__title__new'" size="80">
                     53:          <br>
                     54:          <input tal:attributes="name python:'teaching__place__new'" size="80"/>
                     55:               <br>
                     56:          <input tal:attributes="name python:'teaching__link__new'" size="80"/>
                     57: 
                     58: 
                     59:       </td>
                     60:       <td>
                     61:          <input tal:attributes="name python:'teaching__priority__new'" size="3">
                     62:       </td>
                     63:       <td valign="top" tal:content="structure python:here.ZSQLSelectionFromCRList(
                     64:                 'teaching__published__new',
                     65:                 yes_no_list,
                     66:                 boxType='radio',
                     67:                 checked='yes')"/>
                     68:     </tr>
                     69:       </table>
                     70:       <input type="submit" value="submit">
                     71:   
                     72:      </form>
                     73: </tal:block>
1.1.2.2 ! casties    74: </body>
1.1.2.1   dwinter    75: </html>

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