Initial
This commit is contained in:
8
map_location/templates/forms/map-location.html
Normal file
8
map_location/templates/forms/map-location.html
Normal file
@@ -0,0 +1,8 @@
|
||||
<div style="width: 100%">
|
||||
<input name="{{ widget.name }}" id="{{ widget.attrs.id }}_value" type="hidden" value="{{ widget.value|default:'' }}" />
|
||||
<div id="{{ widget.attrs.id }}_map" style="width: 100%; height: 400px"></div>
|
||||
<a href="" id="{{ widget.attrs.id }}_reset">Remove</a>
|
||||
<script>
|
||||
MapLocationInit("{{ widget.attrs.id }}", {{ widget.attrs.options|safe }});
|
||||
</script>
|
||||
</div>
|
||||
Reference in New Issue
Block a user