Autocomplete from GIS list of CRSs..
..using django-autocomplete-light, in both the admin area and the end-user form Closes #32
This commit is contained in:
@ -1,8 +1,5 @@
|
||||
{% extends "base_page.html" %}
|
||||
{% load compress %}
|
||||
{% load crispy_forms_tags %}
|
||||
{% load i18n %}
|
||||
{% load leaflet_tags %}
|
||||
{% load compress crispy_forms_tags i18n leaflet_tags static %}
|
||||
|
||||
|
||||
{% block stylesheets %}
|
||||
@ -20,6 +17,8 @@
|
||||
{% endblock %}
|
||||
|
||||
{% block scripts %}
|
||||
<script type="text/javascript" src="{% static 'admin/js/vendor/jquery/jquery.js' %}"></script>
|
||||
{{ form.media }}
|
||||
{% leaflet_js %}
|
||||
<script type="text/javascript">
|
||||
YourGeometryField = L.GeometryField.extend({
|
||||
|
Reference in New Issue
Block a user