Skip to content

Commit fc5dc27

Browse files
committed
fix: try use LF
1 parent f2e3ec8 commit fc5dc27

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

src/Views/magic_link_code.php

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +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>
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>
2121
<?= $this->endSection() ?>

0 commit comments

Comments
 (0)