Implémentation complète (mais minimale) de la réinitialisation de mot de passe.
[Plinn.git] / skins / custom_content / transition_form.pt
1 <metal:block metal:define-macro="master">
2 <html xmlns:tal="http://xml.zope.org/namespaces/tal"
3 xmlns:metal="http://xml.zope.org/namespaces/metal"
4 metal:use-macro="here/main_template/macros/master">
5 <head>
6 <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
7 </head>
8 <body i18n:domain="plinn">
9 <div metal:fill-slot="main">
10 <div class="Desktop"
11 tal:define="wtool here/portal_workflow;
12 review_state python: wtool.getInfoFor(here, 'review_state')">
13
14 <div metal:define-slot="main">
15 <h1 i18n:translate="">Transition of <span tal:replace="here/getId"
16 i18n:name="objectid">Item</span>.</h1>
17
18 <p i18n:translate="">Transition description.</p>
19 </div>
20 <br />
21 <form method="post" action="content_status_modify"
22 tal:attributes="action string:${here/absolute_url}/content_status_modify">
23 <table class="FormLayout">
24 <tr>
25 <th i18n:translate="">Current state:</th>
26 <td tal:content="review_state" i18n:translate="">Private</td>
27 </tr>
28 <tr>
29 <td valign="top" align="left" colspan="2">
30 <strong><em i18n:translate="">Comments</em></strong>
31 <br />
32 <textarea name="comment" cols="60" rows="5" style="width: 100%"></textarea>
33 </td>
34 </tr>
35 <tr>
36 <td colspan="2">
37 <input type="hidden" name="syncFragments:tokens" value="rightCell" />
38 <div metal:define-slot="form">
39 <input type="hidden" name="workflow_action" value="transition" />
40 <input type="submit" value="Transition" i18n:attributes="value" />
41 </div>
42 </td>
43 </tr>
44 </table>
45 </form>
46 <h2 i18n:translate="">Reviewing history</h2>
47 <div metal:use-macro="here/wf_macros/macros/default_workflow">
48 default_workflow history
49 </div>
50
51
52 </div>
53 </div>
54 </body>
55 </html>
56 </metal:block>