37
|
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
|
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
3 <html metal:use-macro="here/mainEditFile/macros/page">
|
|
4 <body>
|
|
5 <tal:block metal:fill-slot="navsel" tal:define="global menusel string:talks" />
|
|
6
|
|
7 <tal:block metal:fill-slot="body" tal:define="yes_no_list python:'yes\nno'">
|
|
8 <form action="" method="post">
|
|
9 <input type="hidden" name="key_main" tal:attributes="value python:here.content.key">
|
|
10 <input type="hidden" name="main_fields" value="talks__title">
|
100
|
11 <table tal:define="founds2 python:here.getTalks(published=False)">
|
37
|
12 <tr>
|
|
13 <th>Date</th>
|
|
14 <th>Title/Place/Link</th>
|
|
15 <th>Priority</th>
|
|
16 <th>Show</th>
|
|
17 </tr>
|
159
|
18 <tr tal:repeat="found2 founds2">
|
37
|
19 <td valign="top">
|
|
20 <input tal:attributes="name python:'talks__date__'+str(found2.oid);
|
|
21 value found2/date" size="10" />
|
|
22 </td>
|
|
23 <td>
|
|
24 <input tal:attributes="name python:'talks__title__'+str(found2.oid);
|
|
25 value python:found2.title" size="80" /><br>
|
|
26 <input tal:attributes="name python:'talks__place__'+str(found2.oid);
|
|
27 value python:found2.place" size="80" /><br>
|
|
28 <input tal:attributes="name python:'talks__link__'+str(found2.oid);
|
|
29 value python:found2.link" size="80" />
|
|
30 </td>
|
|
31 <td valign="top">
|
|
32 <input tal:attributes="name python:'talks__priority__'+str(found2.oid); value found2/priority" size="3" />
|
|
33 </td>
|
159
|
34 <td valign="top" tal:define="name string:talks__published__${found2/oid}; value found2/published;">
|
|
35 <span metal:use-macro="here/common_template/macros/yesno_input_radio"/>
|
|
36 </td>
|
37
|
37 <td>
|
|
38 <a tal:attributes="href python:'deleteField?table=talks&key=%s'%found2.oid">delete</a>
|
|
39 </td>
|
|
40 </tr>
|
|
41 <tr colspan="4">
|
|
42 <td>Add new</td>
|
|
43 </tr>
|
|
44 <tr>
|
|
45 <td valign="top"><input tal:attributes="name python:'talks__date__new'" size="10" /></td>
|
|
46 <td><input tal:attributes="name python:'talks__title__new'" size="80"> <br>
|
|
47 <input tal:attributes="name python:'talks__place__new'" size="80" /> <br>
|
|
48 <input tal:attributes="name python:'talks__link__new'" size="80" /></td>
|
|
49 <td><input tal:attributes="name python:'talks__priority__new'" size="3"></td>
|
159
|
50 <td valign="top" tal:define="name string:talks__published__new; value string:yes;">
|
|
51 <span metal:use-macro="here/common_template/macros/yesno_input_radio"/>
|
|
52 </td>
|
37
|
53 </tr>
|
|
54 </table>
|
|
55 <input type="submit" value="submit">
|
|
56
|
|
57 </form>
|
|
58 </tal:block>
|
|
59 </body>
|
|
60 </html>
|