innhold/content/underskriftskampanje/medisinsk-cannabis-pa-resept/send-bekreftelse-pa-nytt/01-content.php
Ruben c8efa479bc Add resend confirmation functionality for petition signatures
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
2026-02-02 00:14:34 +01:00

21 lines
845 B
PHP

<h1>Send bekreftelse nytt</h1>
<p>Skriv inn e-postadressen du brukte da du signerte, 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>