1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
<html
xmlns="http://www.w3.org/1999/xhtml"
xmlns:tal="http://xml.zope.org/namespaces/tal"
xmlns:metal="http://xml.zope.org/namespaces/metal"
xmlns:i18n="http://xml.zope.org/namespaces/i18n"
xml:lang="en"
lang="en"
dir="ltr"
metal:use-macro="view/macro:page/main_only"
i18n:domain="launchpad"
>
<body>
<div metal:fill-slot="main">
<div metal:use-macro="context/@@launchpad_form/form">
<p metal:fill-slot="extra_top">
E-mail notifications for this team should go to:
</p>
<metal:widgets fill-slot="widgets">
<style>
#contactaddress-widgets input {
margin-bottom: 0.75em;
}
</style>
<div id="contactaddress-widgets"
tal:define="contact_method nocall:view/widgets/contact_method">
<input tal:replace="structure contact_method" />:
<tal:email-widget
define="contact_address nocall:view/widgets/contact_address;
field_name contact_address/context/__name__;
error python:view.getFieldError(field_name);
error_class python:error and 'error' or None;">
<span tal:attributes="class error_class">
<input tal:replace="structure contact_address" />
<div class="message" tal:condition="error"
tal:content="structure error">Error message</div>
</span>
</tal:email-widget>
</div>
</metal:widgets>
<p metal:fill-slot="extra_bottom" id="set-up-a-mailing-list">
If you <a href="+mailinglist">set up a mailing list for this
team</a>, you can use the mailing list as the team contact
address.
</p>
</div>
</div>
</body>
</html>
|