Closed gunjikamiya closed 4 years ago
$this->viewBuilder()->setLayout('login');
$this->render('/Layout/login');
Hi @kamiyagunji
Just an example.
// src/Template/login.ctp - just an example
$this->layout = 'AdminLTE.Login';
echo $this->Form->create(null);
echo $this->Form->control('login');
echo $this->Form->control('password');
echo $this->Form->end();
Hi.
I am currently considering using login.ctp on the login screen of the administration screen.
Therefore, login.ctp was placed in the following file path.
The following is in login.ctp.
However, rewriting the contents of login.ctp is not reflected. Do you need any other settings?
thanks.