19 lines
874 B
PHP
19 lines
874 B
PHP
<?= $this->extend('layouts/embed') ?>
|
|
<?= $this->section('content') ?>
|
|
<div class="container py-5" style="max-width:420px;">
|
|
<h1 class="h5 mb-3">Password required</h1>
|
|
<?php if (session()->getFlashdata('error')): ?>
|
|
<div class="alert alert-danger"><?= esc(session()->getFlashdata('error')) ?></div>
|
|
<?php endif; ?>
|
|
<form action="<?= base_url('share/' . esc($token, 'url') . '/unlock') ?>" method="post">
|
|
<?= csrf_field() ?>
|
|
<input type="hidden" name="redirect_q" value="<?= esc($redirect_q ?? '') ?>">
|
|
<div class="mb-3">
|
|
<label class="form-label">Password</label>
|
|
<input type="password" name="password" class="form-control" required autocomplete="current-password">
|
|
</div>
|
|
<button type="submit" class="btn btn-dark w-100">Continue</button>
|
|
</form>
|
|
</div>
|
|
<?= $this->endSection() ?>
|