[TWIG][Settings] WIP Refactoring of user panel. Now using macros to diminish repeated code.

[CONTROLLER][UserPanel] Replaced form names. More readable.
This commit is contained in:
2021-11-23 21:09:45 +00:00
committed by Diogo Peralta Cordeiro
parent d5fc2cac8a
commit 8edaabbabf
5 changed files with 86 additions and 103 deletions

View File

@@ -82,8 +82,8 @@ class UserPanel extends Controller
return [
'_template' => 'settings/base.html.twig',
'prof' => $personal_form->createView(),
'acc' => $account_form->createView(),
'profile' => $personal_form->createView(),
'account' => $account_form->createView(),
'tabbed_forms_notify' => $notifications_form_array,
'open_details_query' => $this->string('open'),
];