<!-- Multistep Form -->
<?= $this->Form->create(null, ['id' => 'msform', 'class' => 'needs-validation', 'novalidate' => true]) ?>

<div class="container">
    <div class="text-center mb-4">
        <h3 class="fs-title">Login</h3>
        <?= $this->Flash->render() ?>
    </div>

    <div class="row justify-content-center">
        <div class="col-md-4 mb-3">
            <?= $this->Form->control('email', [
                'label' => false,
                'class' => 'form-control login-field',
                'id' => 'email',
                'placeholder' => 'Enter Email',
                'required' => true
            ]) ?>
        </div>
    </div>

    <div class="row justify-content-center">
        <div class="col-md-4 mb-3">
            <?= $this->Form->control('password', [
                'label' => false,
                'class' => 'form-control login-field',
                'id' => 'password',
                'placeholder' => 'Password',
                'required' => true
            ]) ?>
        </div>
    </div>

    <div class="text-center mt-4">
        <?= $this->Form->button(__('Send'), [
            'class' => 'btn btn-primary',
            'type' => 'submit'
        ]) ?>
    </div>
</div>

<?= $this->Form->end() ?>