Skip to content

Commit 71e0ddc

Browse files
committed
fix: replace /> with > for input tags
1 parent f9bf1cf commit 71e0ddc

6 files changed

Lines changed: 10 additions & 10 deletions

File tree

src/Views/email_2fa_show.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<input type="email" class="form-control" name="email"
2424
inputmode="email" autocomplete="email" placeholder="<?= lang('Auth.email') ?>"
2525
<?php /** @var \CodeIgniter\Shield\Entities\User $user */ ?>
26-
value="<?= old('email', $user->email) ?>" required />
26+
value="<?= old('email', $user->email) ?>" required>
2727
</div>
2828

2929
<div class="d-grid col-8 mx-auto m-3">

src/Views/email_2fa_verify.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<!-- Code -->
2222
<div class="mb-2">
2323
<input type="number" class="form-control" name="token" placeholder="000000"
24-
inputmode="numeric" pattern="[0-9]*" autocomplete="one-time-code" required />
24+
inputmode="numeric" pattern="[0-9]*" autocomplete="one-time-code" required>
2525
</div>
2626

2727
<div class="d-grid col-8 mx-auto m-3">

src/Views/email_activate_show.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<!-- Code -->
2222
<div class="form-floating mb-2">
2323
<input type="text" class="form-control" id="floatingTokenInput" name="token" placeholder="000000" inputmode="numeric"
24-
pattern="[0-9]*" autocomplete="one-time-code" value="<?= old('token') ?>" required />
24+
pattern="[0-9]*" autocomplete="one-time-code" value="<?= old('token') ?>" required>
2525
<label for="floatingTokenInput"><?= lang('Auth.token') ?></label>
2626
</div>
2727

src/Views/login.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@
3333

3434
<!-- Email -->
3535
<div class="form-floating mb-3">
36-
<input type="email" class="form-control" id="floatingEmailInput" name="email" inputmode="email" autocomplete="email" placeholder="<?= lang('Auth.email') ?>" value="<?= old('email') ?>" required />
36+
<input type="email" class="form-control" id="floatingEmailInput" name="email" inputmode="email" autocomplete="email" placeholder="<?= lang('Auth.email') ?>" value="<?= old('email') ?>" required>
3737
<label for="floatingEmailInput"><?= lang('Auth.email') ?></label>
3838
</div>
3939

4040
<!-- Password -->
4141
<div class="form-floating mb-3">
42-
<input type="password" class="form-control" id="floatingPasswordInput" name="password" inputmode="text" autocomplete="current-password" placeholder="<?= lang('Auth.password') ?>" required />
42+
<input type="password" class="form-control" id="floatingPasswordInput" name="password" inputmode="text" autocomplete="current-password" placeholder="<?= lang('Auth.password') ?>" required>
4343
<label for="floatingPasswordInput"><?= lang('Auth.password') ?></label>
4444
</div>
4545

src/Views/magic_link_form.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<!-- Email -->
3131
<div class="form-floating mb-2">
3232
<input type="email" class="form-control" id="floatingEmailInput" name="email" autocomplete="email" placeholder="<?= lang('Auth.email') ?>"
33-
value="<?= old('email', auth()->user()->email ?? null) ?>" required />
33+
value="<?= old('email', auth()->user()->email ?? null) ?>" required>
3434
<label for="floatingEmailInput"><?= lang('Auth.email') ?></label>
3535
</div>
3636

src/Views/register.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,25 +29,25 @@
2929

3030
<!-- Email -->
3131
<div class="form-floating mb-2">
32-
<input type="email" class="form-control" id="floatingEmailInput" name="email" inputmode="email" autocomplete="email" placeholder="<?= lang('Auth.email') ?>" value="<?= old('email') ?>" required />
32+
<input type="email" class="form-control" id="floatingEmailInput" name="email" inputmode="email" autocomplete="email" placeholder="<?= lang('Auth.email') ?>" value="<?= old('email') ?>" required>
3333
<label for="floatingEmailInput"><?= lang('Auth.email') ?></label>
3434
</div>
3535

3636
<!-- Username -->
3737
<div class="form-floating mb-4">
38-
<input type="text" class="form-control" id="floatingUsernameInput" name="username" inputmode="text" autocomplete="username" placeholder="<?= lang('Auth.username') ?>" value="<?= old('username') ?>" required />
38+
<input type="text" class="form-control" id="floatingUsernameInput" name="username" inputmode="text" autocomplete="username" placeholder="<?= lang('Auth.username') ?>" value="<?= old('username') ?>" required>
3939
<label for="floatingUsernameInput"><?= lang('Auth.username') ?></label>
4040
</div>
4141

4242
<!-- Password -->
4343
<div class="form-floating mb-2">
44-
<input type="password" class="form-control" id="floatingPasswordInput" name="password" inputmode="text" autocomplete="new-password" placeholder="<?= lang('Auth.password') ?>" required />
44+
<input type="password" class="form-control" id="floatingPasswordInput" name="password" inputmode="text" autocomplete="new-password" placeholder="<?= lang('Auth.password') ?>" required>
4545
<label for="floatingPasswordInput"><?= lang('Auth.password') ?></label>
4646
</div>
4747

4848
<!-- Password (Again) -->
4949
<div class="form-floating mb-5">
50-
<input type="password" class="form-control" id="floatingPasswordConfirmInput" name="password_confirm" inputmode="text" autocomplete="new-password" placeholder="<?= lang('Auth.passwordConfirm') ?>" required />
50+
<input type="password" class="form-control" id="floatingPasswordConfirmInput" name="password_confirm" inputmode="text" autocomplete="new-password" placeholder="<?= lang('Auth.passwordConfirm') ?>" required>
5151
<label for="floatingPasswordConfirmInput"><?= lang('Auth.passwordConfirm') ?></label>
5252
</div>
5353

0 commit comments

Comments
 (0)