Add registration and login templates plus UI stuff, moderation
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
{% extends "map/base_with_container.html" %}
|
||||
{% extends "base_page.html" %}
|
||||
{% load compress %}
|
||||
{% load crispy_forms_tags %}
|
||||
{% load i18n %}
|
||||
@ -21,4 +21,14 @@
|
||||
|
||||
{% block scripts %}
|
||||
{% leaflet_js %}
|
||||
<script type="text/javascript">
|
||||
YourGeometryField = L.GeometryField.extend({
|
||||
addTo: function (map) {
|
||||
L.GeometryField.prototype.addTo.call(this, map);
|
||||
// Customize map for field
|
||||
console.log(this);
|
||||
},
|
||||
// See GeometryField source (static/leaflet/leaflet.forms.js) to override more stuff...
|
||||
});
|
||||
</script>
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user