Commit be7ee76048c957d79fe91f54f02111dfc40884af
1 parent
3cc6d54b
- add decorate button
Showing
2 changed files
with
3 additions
and
2 deletions
Show diff stats
backend/controllers/PageController.php
@@ -175,11 +175,11 @@ | @@ -175,11 +175,11 @@ | ||
175 | 'name' => 'categoryIds', | 175 | 'name' => 'categoryIds', |
176 | 'type' => Form::RELATION, | 176 | 'type' => Form::RELATION, |
177 | 'relationAttribute' => 'title', | 177 | 'relationAttribute' => 'title', |
178 | - 'relationName' => 'parent', | 178 | + 'relationName' => 'categories', |
179 | 'multiple' => false, | 179 | 'multiple' => false, |
180 | ], | 180 | ], |
181 | [ | 181 | [ |
182 | - 'name' => 'status', | 182 | + 'name' => 'in_menu', |
183 | 'type' => Form::BOOL, | 183 | 'type' => Form::BOOL, |
184 | ], | 184 | ], |
185 | [ | 185 | [ |
backend/controllers/ServiceController.php