diff --git a/libraries/classes/Controllers/Table/TableStructureController.php b/libraries/classes/Controllers/Table/TableStructureController.php index 13a1ae6fa5..f6380266b7 100644 --- a/libraries/classes/Controllers/Table/TableStructureController.php +++ b/libraries/classes/Controllers/Table/TableStructureController.php @@ -537,7 +537,7 @@ class TableStructureController extends TableController array( 'db' => $this->db, 'table' => $this->table, - 'partitionDetails' => $partitionDetails + 'partition_details' => $partitionDetails, ) ) ); diff --git a/templates/table/structure/partition_definition_form.phtml b/templates/table/structure/partition_definition_form.phtml deleted file mode 100644 index 094e03ea20..0000000000 --- a/templates/table/structure/partition_definition_form.phtml +++ /dev/null @@ -1,13 +0,0 @@ -
- - - -
- - render(array('partition_details' => $partitionDetails)); ?> -
-
- -
-
diff --git a/templates/table/structure/partition_definition_form.twig b/templates/table/structure/partition_definition_form.twig new file mode 100644 index 0000000000..186a6c71f1 --- /dev/null +++ b/templates/table/structure/partition_definition_form.twig @@ -0,0 +1,14 @@ +
+ {{ Url_getHiddenInputs(db, table) }} + + +
+ {% trans 'Edit partitioning' %} + {% include 'columns_definitions/partitions.twig' with { + 'partition_details': partition_details + } only %} +
+
+ +
+