Skip to content

Commit 750c12c

Browse files
committed
fix: try use LF
1 parent 5cbbcea commit 750c12c

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

src/Views/magic_link_code.php

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<?= $this->extend(config('Auth')->views['layout']) ?>
2+
3+
<?= $this->section('title') ?><?= lang('Auth.verifyMagicCode') ?> <?= $this->endSection() ?>
4+
5+
<?= $this->section('main') ?>
6+
<div class="container d-flex justify-content-center p-5">
7+
<div class="card col-12 col-md-5 shadow-sm">
8+
<div class="card-body">
9+
<h5 class="card-title mb-5"><?= lang('Auth.verifyMagicCode') ?></h5>
10+
<form action="<?= route_to('verify-magic-link') ?>" method="post">
11+
<?= csrf_field() ?>
12+
<div class="mb-3">
13+
<label for="magicCode" class="form-label"><?= lang('Auth.magicCodeText', [strtok(config('Auth')->magicLoginMode, '-')]) ?></label>
14+
<input type="text" class="form-control" name="magicCode" id="magicCode" maxlength="<?= strtok(config('Auth')->magicLoginMode, '-'); ?>" pattern="[a-zA-Z0-9]{<?= strtok(config('Auth')->magicLoginMode, '-'); ?>}" required>
15+
</div>
16+
<button type="submit" class="btn btn-primary"><?= lang('Auth.login') ?></button>
17+
</form>
18+
</div>
19+
</div>
20+
</div>
21+
<?= $this->endSection() ?>

0 commit comments

Comments
 (0)