Add link to resend confirmation page from main form Add new resend confirmation page with form Implement backend logic to handle resend requests Add translations for new functionality Update thank you page with resend confirmation link
21 lines
845 B
PHP
21 lines
845 B
PHP
<h1>Send bekreftelse på nytt</h1>
|
|
|
|
<p>Skriv inn e-postadressen du brukte da du signerte, så sender vi en ny bekreftelseslenke.</p>
|
|
|
|
<?php if (!empty($petition_resend_message)): ?>
|
|
<div class="form-message form-message--<?= htmlspecialchars($petition_resend_message['type']) ?>" role="alert">
|
|
<p><?= htmlspecialchars($petition_resend_message['text']) ?></p>
|
|
</div>
|
|
<?php endif; ?>
|
|
|
|
<form method="post" action="" class="resend-form">
|
|
<div class="form-group">
|
|
<label for="resend_email">E-post</label>
|
|
<input type="email" id="resend_email" name="resend_email" placeholder="din@epost.no" required maxlength="100">
|
|
</div>
|
|
<div class="form-group">
|
|
<button type="submit" name="petition_resend" class="button">Send på nytt</button>
|
|
</div>
|
|
</form>
|
|
|
|
<p><a href="../">Tilbake til underskriftskampanjen</a></p>
|