bugfix.
[Plinn.git] / skins / generic / content_publish_form.pt
1 <html metal:use-macro="here/transition_form/macros/master">
2 <head>
3 <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
4 </head>
5 <body i18n:domain="plinn">
6 <div metal:fill-slot="main">
7
8 <h2 i18n:translate="">Publish: "<span tal:replace="here/title_or_id"
9 i18n:name="docTitle">Item</span>"</h2>
10 <div i18n:translate="publish_transition_explanations">publish_transition_explanations</div>
11 </div>
12
13 <form action="dummy">
14 <div metal:fill-slot="form">
15 <fieldset tal:define="creators python:[m for m in mtool.getMembers(here.listCreators()) if m != member]"
16 tal:condition="creators">
17 <legend i18n:translate="">Notify by e-mail</legend>
18 <div tal:repeat="member creators" tal:omit-tag="">
19 <label>
20 <input type="checkbox" name="recipients:list" value="membre" tal:attributes="value member/id" checked="checked" />
21 <span tal:replace="member/getMemberFullName">membre</span>
22 </label><br/>
23 </div>
24 </fieldset>
25 <input type="hidden" name="workflow_action" value="publish" tal:attributes="value python:request.get('direct')==True and 'direct_publish' or 'publish'" />
26 <input type="submit" value="Publish" i18n:attributes="value" />
27 </div>
28 </form>
29 </body>
30 </html>