mirror of
https://github.com/nikdoof/vapemap.git
synced 2025-12-23 22:59:23 +00:00
Rework the Add Store to use clientside geocoding.
This commit is contained in:
@@ -1,10 +1,16 @@
|
||||
{% extends "base.html" %}
|
||||
{% load bootstrap %}
|
||||
{% load staticfiles %}
|
||||
|
||||
{% block style %}
|
||||
{{ form.media }}
|
||||
{% endblock %}
|
||||
|
||||
{% block scripts %}
|
||||
<script type="text/javascript" src="https://maps.google.com/maps/api/js?sensor=false"></script>
|
||||
<script type="text/javascript" src="{% static "js/geocoder.js" %}"></script>
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="page-header">
|
||||
<h1>Add Store ({{ wizard.steps.step1 }} of {{ wizard.steps.count }})</h1>
|
||||
@@ -18,6 +24,6 @@
|
||||
<button name="wizard_goto_step" class="btn" type="submit" value="{{ wizard.steps.first }}">First Step</button>
|
||||
<button name="wizard_goto_step" class="btn" type="submit" value="{{ wizard.steps.prev }}">Previous Step</button>
|
||||
{% endif %}
|
||||
<button name="wizard_goto_step" class="btn" type="submit" value="{{ wizard.steps.next }}">Next Step</button>
|
||||
<button class="btn" type="submit">Next Step</button>
|
||||
</form>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user