source: products/quintagroup.formlib.captcha/trunk/quintagroup/formlib/captcha/example.pt @ 2804

Last change on this file since 2804 was 2804, checked in by mylan, 14 years ago

#195: Fixed form breakage in plone-3.3

  • Property svn:eol-style set to native
File size: 1.6 KB
RevLine 
[2804]1<html xmlns="http://www.w3.org/1999/xhtml"
2      xmlns:metal="http://xml.zope.org/namespaces/metal"
3      xmlns:tal="http://xml.zope.org/namespaces/tal"
4      tal:omit-tag="">
5
6<metal:block use-macro="context/prefs_main_template/macros/master">
7<body>
8
9<div metal:fill-slot="prefs_configlet_main">
10
11            <form action="."
12                  tal:attributes="action request/URL;"
13                  method="post"
14                  enctype="multipart/form-data">
15
16                    <tal:block tal:repeat="widget view/widgets">
17
18                        <div class="field"
19                             tal:define="description widget/hint;
20                                         error widget/error">
21                         
22                            <label tal:attributes="for widget/name"
23                                   tal:content="widget/label">
24                                label
25                            </label>
26
27                            <div class="widget" tal:content="structure widget">
28                                <input type="text" />
29                            </div>
30                        </div>
31
32                    </tal:block>
33
34                <div class="visualClear"><!-- --></div>
35
36                <div id="actionsView" class="formControls">
37                    <span class="actionButtons"
38                          tal:condition="view/availableActions">
39                        <input tal:repeat="action view/actions"
40                               tal:replace="structure action/render" />
41                    </span>
42                </div>
43
44            </form>
45
46    </div>
47
48</body>
49
50</metal:block>
51</html>
Note: See TracBrowser for help on using the repository browser.