diff --git a/umap/templates/leaflet_storage/map_list.html b/umap/templates/leaflet_storage/map_list.html index 3ae68912..73d9b607 100644 --- a/umap/templates/leaflet_storage/map_list.html +++ b/umap/templates/leaflet_storage/map_list.html @@ -3,10 +3,10 @@ {% for map_inst in maps %}
- {% map_fragment map_inst %} + {% map_fragment map_inst prefix=prefix %}
{{ map_inst.name }}{% if map_inst.owner %} {% trans "by" %} {{ map_inst.owner }}{% endif %}
{% endfor %} {% if maps.has_next %}
{% trans "More" %}
-{% endif %} \ No newline at end of file +{% endif %} diff --git a/umap/templates/umap/search.html b/umap/templates/umap/search.html index 518afcc0..c4ed5926 100644 --- a/umap/templates/umap/search.html +++ b/umap/templates/umap/search.html @@ -8,7 +8,7 @@
{% if maps %} - {% include "leaflet_storage/map_list.html" %} + {% include "leaflet_storage/map_list.html" with prefix='search_map_' %} {% else %} {% trans "Not map found." %} {% endif %}