<tal:block metal:use-macro="here/macro_manage_edit/macros/page">
<tal:block metal:fill-slot="description">
	Change the properties in the form below and click <strong>Save changes</strong>.
</tal:block>

<tal:block metal:fill-slot="custom_properties">
	<tr>
		<td class="form-label">Latitude</td>
		<td>
			<input type="text" name="latitude:utf8:ustring" id="latitude" size="20" maxlength="20" tal:attributes="value python:request.get('latitude', here.latitude)" />
		</td>
	</tr>
	<tr>
		<td class="form-label">Longitude</td>
		<td>
			<input type="text" name="longitude:utf8:ustring" id="longitude" size="20" maxlength="20" tal:attributes="value python:request.get('longitude', here.longitude)" />
		</td>
	</tr>
	<tr>
		<td class="form-label">Type</td>
		<td tal:define="geo_type python:request.get('geo_type', here.geo_type)">
			<select name="geo_type" id="geo_type">
				<option tal:repeat="item python:here.portal_map.getSymbolsList()"
					tal:attributes="value item/id; selected python:geo_type==item.id"
					tal:content="item/title" />
			</select>
		</td>
	</tr>
	<tr>
		<td class="form-label">URL</td>
		<td><input type="text" name="url:utf8:ustring" id="url" size="50" tal:attributes="value python:request.get('url', here.url)" /></td>
	</tr>
	<tr>
		<td class="form-label" valign="top">Related to local item (if any)</td>
		<td>
			<div class="sitemap_tree" id="sitemap_tree"></div>
			<input class="sitemap_tree_target" type="text" name="pointer:utf8:ustring" id="pointer" size="50" tal:attributes="value python:here.getSession('pointer', request.get('pointer', here.pointer))" />
		</td>
	</tr>
</tal:block>

</tal:block>
