<?php
$this->layout('minimal', [
    'title' => __('Log In'),
    'page_class' => 'login-content'
]);
?>

<div class="public-page">
    <div class="card">
        <div class="card-body">
            <h2 class="card-title"><?=__('Enter Two-Factor Code') ?></h2>
            <p class="text-left"><?=__('Your account uses a two-factor security code. Enter the code your device is currently showing below.') ?>

            <form id="login-form" class="pr-5" action="" method="post">
                <div class="form-group">
                    <label for="otp" class="mb-2">
                        <i class="material-icons mr-1" aria-hidden="true">vpn_key</i>
                        <strong><?=__('Security Code') ?></strong>
                    </label>
                    <input type="number" name="otp" class="form-control form-control-lg" placeholder="" aria-label="<?=__('Security Code') ?>" required autofocus>
                </div>
                <button type="submit" role="button" title="<?=__('Sign in') ?>" class="btn btn-login btn-primary btn-block mt-2 mb-3">
                    <?=__('Sign in') ?>
                </button>
            </form>
        </div>
    </div>
</div>
