Do a bunch of refactoring in the process. Current display on homepage is a little shonky but that can be improved when there is something using it.
33 lines
835 B
HTML
33 lines
835 B
HTML
{% extends "base.html" %}
|
|
{% load compress crispy_forms_tags i18n leaflet_tags static %}
|
|
|
|
{% block page_title %}{% trans "Add a Point of Interest" %} - {{ block.super }}{% endblock %}
|
|
|
|
{% block content %}
|
|
|
|
<div class="container">
|
|
<div class="col-sm-12">
|
|
|
|
<div class="content--narrow">
|
|
|
|
<h1>{% trans "Add a Point of Interest" %}</h1>
|
|
<p class="subheading">{% trans "Points of interest are a way of adding information about or linked to a particular place. They could be a marker for further research, or just a link to information elsewhere." %}</p>
|
|
|
|
{% crispy form %}
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|
|
|
|
{% block stylesheets %}
|
|
{{ block.super }}
|
|
{% leaflet_css %}
|
|
{% endblock %}
|
|
|
|
{% block scripts %}
|
|
{{ form.media }}
|
|
{% leaflet_js %}
|
|
<script src="{% static 'js/map_minzoom.js' %}"></script>
|
|
{% endblock %}
|