-
Notifications
You must be signed in to change notification settings - Fork 144
Expand file tree
/
Copy pathemail_activate_show.php
More file actions
39 lines (28 loc) · 1.48 KB
/
email_activate_show.php
File metadata and controls
39 lines (28 loc) · 1.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?= $this->extend(config('Auth')->views['layout']) ?>
<?= $this->section('title') ?><?= lang('Auth.emailActivateTitle') ?> <?= $this->endSection() ?>
<?= $this->section('main') ?>
<div class="container d-flex justify-content-center p-5">
<div class="card col-12 col-md-5 shadow-sm">
<div class="card-body">
<h5 class="card-title mb-5"><?= lang('Auth.emailActivateTitle') ?></h5>
<?php if (session('error')) : ?>
<div class="alert alert-danger"><?= session('error') ?></div>
<?php endif ?>
<p><?= lang('Auth.emailActivateBody') ?></p>
<form action="<?= url_to('auth-action-verify') ?>" method="post">
<?= csrf_field() ?>
<!-- Code -->
<div class="form-floating mb-2">
<input type="text" class="form-control" id="floatingTokenInput" name="token" placeholder="000000" inputmode="numeric"
pattern="[0-9]*" autocomplete="one-time-code" value="<?= old('token') ?>" required>
<label for="floatingTokenInput"><?= lang('Auth.token') ?></label>
</div>
<div class="d-grid col-8 mx-auto m-3">
<button type="submit" class="btn btn-primary btn-block"><?= lang('Auth.send') ?></button>
</div>
<p><?= lang('Auth.remainingTime', [$remainingTime]) ?></p>
</form>
</div>
</div>
</div>
<?= $this->endSection() ?>