diff --git a/sapl/templates/crud/detail.html b/sapl/templates/crud/detail.html
index 42d67e51f..2f9a2c6c0 100644
--- a/sapl/templates/crud/detail.html
+++ b/sapl/templates/crud/detail.html
@@ -101,15 +101,17 @@
{% endfor %}
{% endblock detail_content %}
-
diff --git a/sapl/templates/crud/detail_detail.html b/sapl/templates/crud/detail_detail.html
index fc01330f2..5f4b59d72 100644
--- a/sapl/templates/crud/detail_detail.html
+++ b/sapl/templates/crud/detail_detail.html
@@ -64,6 +64,7 @@
{% endfor %}
{% endblock detail_content %}
+ {% if view.openapi_url %}