diff --git a/templates/AdminPages/EntityAdminBase.html.twig b/templates/AdminPages/EntityAdminBase.html.twig index f18ad960..93a12be1 100644 --- a/templates/AdminPages/EntityAdminBase.html.twig +++ b/templates/AdminPages/EntityAdminBase.html.twig @@ -102,48 +102,7 @@ {% if entity.id %}
-
- -
- -
- -
-
- -
- -
- -
-
- -
-
-
- - -
-
-
- -
-
- -
-
-
+ {% include 'AdminPages/_export_form.html.twig' with {'path' : path('attachment_type_export', {'id': entity.id})} %}
{% else %} {# For new element we have a combined import/export tab #}
@@ -154,49 +113,8 @@
- {% trans %}export_all.label{% endtrans %} -
- -
- -
- -
-
- -
- -
- -
-
- -
-
-
- - -
-
-
- -
-
- -
-
-
+ {% trans %}export_all.label{% endtrans %} + {% include 'AdminPages/_export_form.html.twig' with {'path' : path('attachment_type_export_all')} %}
diff --git a/templates/AdminPages/_export_form.html.twig b/templates/AdminPages/_export_form.html.twig new file mode 100644 index 00000000..62686d3a --- /dev/null +++ b/templates/AdminPages/_export_form.html.twig @@ -0,0 +1,42 @@ +
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+
+
+ + +
+
+
+ +
+
+ +
+
+
\ No newline at end of file