WizdomWeb/resources/views/pages/unsubscribe_confirm.php

30 lines
1.2 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<section class="newsletter-action section pt-5">
<div class="container text-center">
<div class="icon mb-4">
<i class="bi bi-envelope-x text-warning" style="font-size: 4rem;"></i>
</div>
<h2 class="mb-3">Unsubscribe from “Words of Wizdom”</h2>
<p class="lead">Were sorry to see you go. If youd like to stop receiving our emails, confirm below.</p>
<div class="my-4">
<img src="/assets/img/newsletter-thanks.webp" alt="Unsubscribe" class="img-fluid rounded shadow" style="max-width: 400px;">
</div>
<form action="/unsubscribe" method="post" class="row justify-content-center mt-3" style="max-width: 600px; margin: 0 auto;">
<input type="hidden" name="email" value="<?= htmlspecialchars($email) ?>">
<div class="col-12 mb-3">
<textarea name="unsubscribe_reason" class="form-control" rows="3" placeholder="Optional: Let us know why youre leaving"></textarea>
</div>
<div class="col-12">
<button type="submit" class="btn btn-danger">Unsubscribe Me</button>
</div>
</form>
<div class="mt-4">
<a href="/" class="btn btn-outline-secondary">Never mind take me back</a>
</div>
</div>
</section>