diff --git a/datenmanagement/templates/datenmanagement/form.html b/datenmanagement/templates/datenmanagement/form.html index 2be74b17..1fad6324 100644 --- a/datenmanagement/templates/datenmanagement/form.html +++ b/datenmanagement/templates/datenmanagement/form.html @@ -9,7 +9,7 @@ {{ block.super }} {% leaflet_css plugins="geoman,locatecontrol" %} - {% if forms_in_mobile_mode or request.user_agent.is_mobile or request.user_agent.is_tablet %} + {% if forms_in_mobile_mode or is_mobile %} {% if forms_in_mobile_mode %} @@ -174,7 +174,7 @@