summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chimere/templates/chimere/detail.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/chimere/templates/chimere/detail.html b/chimere/templates/chimere/detail.html
index a5ede4d..82d9e81 100644
--- a/chimere/templates/chimere/detail.html
+++ b/chimere/templates/chimere/detail.html
@@ -33,7 +33,7 @@
<li>{% trans "Share"%}</li>{% for share_network in share_networks %}
<li><a href='{{share_network.1}}'><img src="{{share_network.2}}" alt="{{share_network.0}}"/></a></li>
{% endfor %}</ul>{% endif %}
- <a href='{% if marker.route %}{% url chimere:editroute-item area_name marker.route.pk %}{%else%}{% url chimere:edit-item area_name marker.pk %}{%endif%}'>
+ <a href='{% if marker.route %}{% url chimere:editroute-item area_name|default_if_none:"" marker.route.pk "" %}{%else%}{% url chimere:edit-item area_name|default_if_none:"" marker.pk "" %}{%endif%}'>
{% trans "Submit a modification" %}
</a>
{% endif %}