source: products/qPloneGoogleMaps/tags/0.1.0/skins/qPloneGoogleMaps/prefs_mapkeys_form.cpt

Last change on this file was 1, checked in by myroslav, 18 years ago

Building directory structure

  • Property svn:eol-style set to native
File size: 2.5 KB
Line 
1<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
2      lang="en"
3      metal:use-macro="here/prefs_main_template/macros/master"
4      i18n:domain="googlemaps">
5
6<metal:block fill-slot="top_slot"
7             tal:define="dummy python:request.set('disable_border',1)" />
8
9<body>
10
11<div metal:fill-slot="prefs_configlet_main"
12     tal:define="errors options/state/getErrors;">
13
14    <h1 i18n:domain="plone" i18n:translate="">qPloneGoogleMaps Settings</h1>
15
16    <a href=""
17       class="link-parent"
18       tal:attributes="href string: $portal_url/plone_control_panel"
19       i18n:domain="plone"
20       i18n:translate="label_up_to_plone_setup">
21    Up to Site Setup
22    </a>
23
24    <p class="documentDescription"
25       i18n:translate="description_atgooglemaps_settings">
26        Google Maps API Keys settings.
27    </p>
28
29    <form action=""
30          name="qplonegooglemaps"
31          method="post"
32          class="enableUnloadProtection"
33          tal:attributes="action string:${here_url}/${template_id}">
34
35        <div class="field"
36             tal:define="map_api_keys request/map_api_keys|here/portal_properties/maps_properties/map_api_keys;
37                         error errors/map_api_keys|nothing"
38             tal:attributes="class python:test(error, 'field error', 'field')">
39            <label for="map_api_keys" i18n:translate="label_map_api_keys">Map Api Keys</label>
40            <div class="formHelp" i18n:translate="help_map_api_keys">
41                Here you can enter "portal root|map api key" pairs for your maps.
42            </div>
43            <div tal:content="error">Validation error output</div>
44            <textarea cols="40"
45                    rows="20"
46                    tabindex=""
47                    name="map_api_keys:lines"
48                    tal:content="python:'\n'.join(map_api_keys)"
49                    tal:attributes="tabindex tabindex/next;" />
50        </div>
51
52        <div class="formControls"
53             tal:define="process_creation request/process_creation|nothing;">
54            <input class="context" tabindex="" type="submit" value="Save" name="form.button.Save"
55                    i18n:attributes="value"
56                    tal:attributes="tabindex tabindex/next" />
57            <input class="standalone" tabindex="" type="submit" value="Cancel" name="form.button.Cancel"
58                    i18n:attributes="value"
59                    tal:attributes="tabindex tabindex/next" />
60        </div>
61        <input type="hidden" name="form.submitted" value="1" />
62    </form>
63
64</div>
65
66</body>
67</html>
Note: See TracBrowser for help on using the repository browser.