1
## -*- coding: utf-8 -*-
2
<%inherit file="base.html"/>
3
<%def name="page_head()">
4
<link rel="stylesheet" href="/css/contact.css" type="text/css" media="screen" />
5
<script type="text/javascript" src="/common/js/jquery.validate.min.js"></script>
6
<script type="text/javascript">
7
$(document).ready(function(){
8
$("#commentForm").validate();
10
trickit = "${self_url}";
11
trickit = trickit.replace(/!/g, "t");
12
document.forms.commentForm.action = trickit;
20
% if contact_received==1:
22
<p>${_("We have received your message and will contact you as soon as we can.")}</p>
25
<form id="commentForm" method="post" action="spam">
27
<input name="submitting" value="1" type="hidden" />
28
<legend>You can use the form below to contact us</legend>
29
<p class="note"><span>*</span> denotes a required field</p>
31
<label for="cname">Name</label><em>*</em>
32
<input id="cname" name="name" size="25" class="required" />
35
<label for="cemail">E-Mail</label><em>*</em>
36
<input id="cemail" name="email" size="25" class="required email" />
39
<label for="ccomment">Your comment</label><em>*</em>
40
<textarea id="ccomment" name="comment" cols="22" rows="5" class="required" style="clear:both;"></textarea>
43
<input class="submit" type="submit" value="Submit" />
48
<p>You can find us in <a href="irc://irc.freenode.org">#getdeb on irc.freenode.org</a>.</p>
51
## Contact email settings
52
<%def name="destination_email()">
53
## mangle to avoid spambots
54
${"%s@%s" % ('general','getdeb.net')}