On va essayer d'afficher le résultat de la XHR.
[Plinn.git] / skins / content / folder_notifications_template.pt
1 <html metal:use-macro="here/main_template/macros/master"
2 xmlns:tal="http://xml.zope.org/namespaces/tal"
3 xmlns:metal="http://xml.zope.org/namespaces/metal"
4 xmlns:i18n="http://xml.zope.org/namespaces/i18n">
5 <head>
6 <title>notification settings</title>
7 <meta http-equiv="content-type" content="text/html;charset=utf-8" />
8
9 </head>
10 <body i18n:domain="plinn">
11 <div metal:fill-slot="header" tal:replace="nothing">header</div>
12 <div metal:fill-slot="main" tal:omit-tag="">
13 <h2>Souscrire aux notifications d'événements</h2>
14 <form tal:attributes="action string:${context/absolute_url}/folder_notifications_form">
15 <div tal:repeat="notification options/notifications">
16 <label>
17 <input type="checkbox"
18 tal:attributes="name string:${notification/interface}:boolean;
19 checked notification/registered"/>
20 <span tal:replace="notification/title"></span>
21 </label>
22 </div>
23 <input type="submit" name="save" value="Save" i18n:attributes="value"/>
24 </form>
25 </div>
26 </body>
27 </html>