Annotation of MPIWGWeb/zpt/editPublications.zpt, revision 1.1.2.1
1.1.2.1 ! dwinter 1: <html metal:use-macro="here/mainEditFile/macros/page">
! 2:
! 3: <tal:block metal:fill-slot="body" tal:define="yes_no_list python:'yes\nno'">
! 4:
! 5: <h3>Manage Publications</h3>
! 6: <p><a href="addPublications">Add Publications</a></p>
! 7: <form action="changePublications" method="post">
! 8: <input type="hidden" name="id_main" tal:attributes="value person/id">
! 9: <input type="hidden" name="main_fields" value="publications__title">
! 10:
! 11: <table tal:define="founds2 python:here.ZSQLInlineSearch(_table='publications',id_main=person.id)">
! 12: <tr tal:repeat="found python:here.sortPriority(founds2)">
! 13: <td>
! 14: <a tal:attributes="href python:'deleteField?table=publications&oid=%s'%found.oid">delete</a>
! 15: </td>
! 16: <td>
! 17: <span tal:replace="structure python:here.formatBibliography(here,found)"/>
! 18: </td>
! 19: <td valign="top">
! 20: <input tal:attributes="name python:'publications__priority__'+str(found.oid);
! 21: value found/priority" size="3"/>
! 22: </td>
! 23: <td valign="top" tal:content="structure python:here.ZSQLSelectionFromCRList(
! 24: 'publications__publish__'+str(found.oid),
! 25: yes_no_list,
! 26: boxType='radio',
! 27: checked=found.publish)"/>
! 28: </tr>
! 29: </table>
! 30: <input type="submit" value="submit">
! 31: </form>
! 32: </tal:block>
! 33: </html>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>