## -*- coding: UTF-8 -*- <%inherit file="layout.html"/> <%! from urllib import unquote_plus from byCycle.model.geocode import Geocode %> <%namespace file="/widgets/fixed-pane.html" import="fixed_pane" /> ${self.json()}

${c.exception.title}

Select a location

<% first_ul = True %> % for i, geocodes in enumerate(c.choices): % if not isinstance(geocodes, Geocode): <% if not first_ul: ul_style = 'style="display: none;"' else: ul_style = '' %> <% first_ul = False %> % endif % endfor <%def name="geocode(geocode, i, j)"> <% str_addr = str(geocode.address) xy_ll = geocode.xy_ll x, y = xy_ll.x, xy_ll.y html_addr = str_addr.replace('\n', '
') field_addr = unquote_plus(geocode.urlStr()) %> <%call expr="fixed_pane(title_bar_style={'display': 'none'}, )">
${html_addr}