Fixup forms and templates for forms

This commit is contained in:
Livvy Mackintosh
2017-10-10 00:58:36 +01:00
parent 8c38748347
commit 52090ec25a
6 changed files with 66 additions and 7 deletions

View File

@ -104,7 +104,7 @@
map.on('click', function(e) {
var popup = L.popup()
.setLatLng(e.latlng)
.setContent("<a class='btn btn-primary btn-sm' href='case-study/add?lat="+e.latlng.lat+"&lng="+e.latlng.lng+"' role='button'>{% trans "Submit a Case Study" %}</a>")
.setContent("<a class='btn btn-primary btn-sm' href='{% url 'create' %}?lat="+e.latlng.lat+"&lng="+e.latlng.lng+"' role='button'>{% trans "Submit a Case Study" %}</a>")
.openOn(map);
});
}