version 1.1.2.2, 2005/10/18 12:59:51
|
version 1.1.2.3, 2005/10/18 19:37:32
|
Line 9
|
Line 9
|
<input type="hidden" name="id_main" tal:attributes="value person/id"> |
<input type="hidden" name="id_main" tal:attributes="value person/id"> |
<input type="hidden" name="main_fields" value="teaching__title"> |
<input type="hidden" name="main_fields" value="teaching__title"> |
<table tal:define="founds2 python:here.ZSQLInlineSearch(_table='teaching',id_main=person.id)"> |
<table tal:define="founds2 python:here.ZSQLInlineSearch(_table='teaching',id_main=person.id)"> |
|
<tr> |
|
<th>Date</th> |
|
<th>Title/Place/Link</th> |
|
<th>Priority</th> |
|
<th>Show</th> |
|
</tr> |
<tr class="fliesstext" tal:repeat="found2 python:here.sortPriority(founds2)"> |
<tr class="fliesstext" tal:repeat="found2 python:here.sortPriority(founds2)"> |
<td valign="top"> |
<td valign="top"><input tal:attributes="name python:'teaching__date__'+str(found2.oid); |
<input tal:attributes="name python:'teaching__date__'+str(found2.oid); |
|
value found2/date" size="10"/> |
value found2/date" size="10"/> |
</td> |
</td> |
|
|
<td> |
<td><input tal:attributes="name python:'teaching__title__'+str(found2.oid); |
<input tal:attributes="name python:'teaching__title__'+str(found2.oid); |
value found2/title" size="80" /> <br> |
value found2/title" size="80"/> |
|
|
|
<br> |
|
<input tal:attributes="name python:'teaching__place__'+str(found2.oid); |
<input tal:attributes="name python:'teaching__place__'+str(found2.oid); |
value found2/place" size="80"/> |
value found2/place" size="80" /> <br> |
<br> |
|
<input tal:attributes="name python:'teaching__link__'+str(found2.oid); |
<input tal:attributes="name python:'teaching__link__'+str(found2.oid); |
value found2/link" size="80"/> |
value found2/link" size="80" /></td> |
|
|
</td> |
<td valign="top"><input tal:attributes="name python:'teaching__priority__'+str(found2.oid); |
|
value found2/priority" |
<td valign="top"> |
size="3" /></td> |
<input tal:attributes="name python:'teaching__priority__'+str(found2.oid); |
<td valign="top" |
value found2/priority" size="3"/> |
tal:content="structure python:here.ZSQLSelectionFromCRList( |
</td> |
|
<td valign="top" tal:content="structure python:here.ZSQLSelectionFromCRList( |
|
'teaching__published__'+str(found2.oid), |
'teaching__published__'+str(found2.oid), |
yes_no_list, |
yes_no_list, |
boxType='radio', |
boxType='radio', |
checked=found2.published)"/> |
checked=found2.published)"/> |
<td> |
<td><a tal:attributes="href python:'deleteField?table=teaching&oid=%s'%found2.oid">delete</a></td> |
<a tal:attributes="href python:'deleteField?table=teaching&oid=%s'%found2.oid">delete</a> |
|
</td> |
|
</tr> |
</tr> |
<tr colspan="4"> |
<tr colspan="4"> |
<td>Add new</td> |
<td>Add new</td> |
</tr> |
</tr> |
<tr> |
<tr> |
<td valign="top"> |
<td valign="top"><input tal:attributes="name python:'teaching__date__new'" size="10" /></td> |
<input tal:attributes="name python:'teaching__date__new'" size="10"/> |
<td><input tal:attributes="name python:'teaching__title__new'" size="80"> <br> |
</td> |
<input tal:attributes="name python:'teaching__place__new'" size="80" /> <br> |
<td> |
<input tal:attributes="name python:'teaching__link__new'" size="80" /></td> |
<input tal:attributes="name python:'teaching__title__new'" size="80"> |
<td><input tal:attributes="name python:'teaching__priority__new'" size="3"></td> |
<br> |
<td valign="top" |
<input tal:attributes="name python:'teaching__place__new'" size="80"/> |
tal:content="structure python:here.ZSQLSelectionFromCRList( |
<br> |
|
<input tal:attributes="name python:'teaching__link__new'" size="80"/> |
|
|
|
|
|
</td> |
|
<td> |
|
<input tal:attributes="name python:'teaching__priority__new'" size="3"> |
|
</td> |
|
<td valign="top" tal:content="structure python:here.ZSQLSelectionFromCRList( |
|
'teaching__published__new', |
'teaching__published__new', |
yes_no_list, |
yes_no_list, |
boxType='radio', |
boxType='radio', |