source: main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/contactform.pt @ 11559

Last change on this file since 11559 was 8415, checked in by Henrik Bettermann, 12 years ago

Add captcha.

File size: 911 bytes
Line 
1<form action="." tal:attributes="action request/URL" method="post"
2      enctype="multipart/form-data">
3
4  <tal:block repeat="widget view/widgets">
5
6    <div tal:condition="python: widget.name != 'form.body'"
7         tal:content="widget/label">Label
8    </div>
9    <br />
10    <div tal:content="structure widget">
11      Textbody
12    </div>
13    <tal:error tal:condition="widget/error">
14      <span tal:replace="structure widget/error">error</span>
15      <br />
16    </tal:error>
17    <br />
18  </tal:block>
19
20  <tal:captcha condition="view/captcha_code|nothing">
21    <p tal:content="structure view/captcha_code"></p>
22    <p i18n:translate="">
23      Please solve the captcha to prevent misuse of this service.
24    </p>
25  </tal:captcha>
26
27    <div tal:condition="view/availableActions">
28      <input tal:repeat="action view/actions"
29             tal:replace="structure action/render"
30             />
31    </div>
32</form>
Note: See TracBrowser for help on using the repository browser.