Mercurial > hg > MPIWGWeb
diff zpt/staff/edit_shortEntry.zpt @ 170:485bf377913a
fix staff editing pages.
author | casties |
---|---|
date | Fri, 07 Jun 2013 16:29:34 +0200 |
parents | ee79f6ba8d01 |
children | c90c8333ca8f |
line wrap: on
line diff
--- a/zpt/staff/edit_shortEntry.zpt Fri Jun 07 12:47:11 2013 +0200 +++ b/zpt/staff/edit_shortEntry.zpt Fri Jun 07 16:29:34 2013 +0200 @@ -4,30 +4,32 @@ <head> </head> <body> -<tal:block metal:fill-slot="navsel" tal:define="global menusel string:research" /> -<tal:block metal:fill-slot="body"> + <tal:block metal:fill-slot="navsel" tal:define="global menusel string:research" /> + <tal:block metal:fill-slot="body"> - <form action="" method="post"> - <input type="hidden" name="key" tal:attributes="value here/content/key"/> - <h3>Short entry</h3> - <p>This entry appears only in the staff lists at: <a href="../staff/fullist.html">Fullist</a> and the - lists of members of you department</p> - <table> - <tr> - <th /> - <th>Show</th> - </tr> - <tr class="fliesstext"> - <td><input tal:attributes="name python:'current_work'; - value python:here.content.current_work" size="80" /> - </td> - <td tal:define="name string:publish; value here/content/current_work_p;"> - <span metal:use-macro="here/common_template/macros/yesno_input_radio"/> - </td> - </tr> - </table> - <input type="submit" value="submit"/> - -</tal:block> + <form tal:attributes="action string:$root/editShortEntry" method="post"> + <input type="hidden" name="key" tal:attributes="value here/content/key" /> + <h3>Short entry</h3> + <p> + This entry appears only in the staff lists at: <a href="/en/staff/index.html" target="_blank">Fullist</a> and the lists of members of you + department + </p> + <table> + <tr> + <th /> + <th>Show</th> + </tr> + <tr> + <td><input tal:attributes="name string:current_work; value here/content/current_work" size="80" /> + </td> + <td tal:define="name string:publish; value here/content/current_work_p;"><span + metal:use-macro="here/common_template/macros/yesno_input_radio" /></td> + </tr> + </table> + <p> + <input type="submit" value="submit" /> + </p> + </form> + </tal:block> </body> </html>