mirror of
https://github.com/flextype/flextype.git
synced 2025-08-27 06:54:31 +02:00
- Fieldsets Controller/Views implementation
This commit is contained in:
@@ -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']
|
||||
],
|
||||
]
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user