1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-27 06:54:31 +02:00

Flextype Box Plugin: Admin #125 #117

- Fieldsets Controller/Views implementation
This commit is contained in:
Awilum
2019-05-24 10:37:28 +03:00
parent c73ac170ad
commit cb94300261

View File

@@ -9,6 +9,17 @@ class FieldsetsController extends Controller
{
public function index($request, $response, $args)
{
return 'sd';
return $this->view->render($response,
'plugins/admin/views/templates/extends/fieldsets/index.html', [
'menu_item' => 'fieldsets',
'fieldsets_list' => $this->fieldsets->fetchList(),
'links' => [
'fieldsets' => [
'link' => $this->router->urlFor('admin.fieldsets.index'),
'title' => __('admin_fieldsets'),
'attributes' => ['class' => 'navbar-item active']
],
]
]);
}
}