
<div class = "user form">
    <?= $this->Flash->render() ?>
    <h3>Login</h3>
    <?= $this->Form->create() ?>
    <fieldset>
        <legend><?= __('Please enter your username and password') ?></legend>
        <?= $this->Form->control('email', ['required' => true], ['type' => 'email'])?>
        <?= $this->Form->control('password', ['required' => true], ['type' => 'password'])?>
    </fieldset>
    <?= $this->Form->submit(__('Login')) ?>
    <?= $this->Form->end() ?>

    <?=$this->Html->link("Create acount", ['action' => 'add'])?><br>
    <br><?=$this->Html->link("Forgot password?", ['action' => 'forgot'])?>
</div>
