diff --git a/backend/controllers/PageController.php b/backend/controllers/PageController.php index 95f7234..0042358 100644 --- a/backend/controllers/PageController.php +++ b/backend/controllers/PageController.php @@ -175,11 +175,11 @@ 'name' => 'categoryIds', 'type' => Form::RELATION, 'relationAttribute' => 'title', - 'relationName' => 'parent', + 'relationName' => 'categories', 'multiple' => false, ], [ - 'name' => 'status', + 'name' => 'in_menu', 'type' => Form::BOOL, ], [ diff --git a/backend/controllers/ServiceController.php b/backend/controllers/ServiceController.php index bd103b9..9b1bd92 100644 --- a/backend/controllers/ServiceController.php +++ b/backend/controllers/ServiceController.php @@ -158,6 +158,7 @@ [ 'name' => 'title', 'type' => Form::STRING, + 'decorate' => true ], [ 'name' => 'body', -- libgit2 0.21.4