Hubert just completed a project for Pipedrive, so downloaded those templates. I kept the old ones as the Pipedrive team noticed some things were overwritten. So until they are fully in production and working correctly, I'm keeping two copies. Will update with the correct files once Hubert investigates.
This commit is contained in:
@ -0,0 +1,30 @@
|
||||
{% include "header" %}
|
||||
<main class="np-main np-cta-page np-max-width np-subpage-container">
|
||||
<div class="np-card-container np-card-padding-xlarge">
|
||||
{% if token %}
|
||||
<i class="np-cta-page-icon fal fa-bell-slash"></i>
|
||||
<div class="np-form-subheadline np-margin-top">
|
||||
{% t .unsubscribe_text %}
|
||||
</div>
|
||||
<div class="np-form-subheadline np-margin-top">
|
||||
{% t .resubscribe_text %}
|
||||
</div>
|
||||
<form
|
||||
id="unsubscribe_form"
|
||||
action="{% route email_unsubscribe, unsubscribe_token: token %}"
|
||||
method="post"
|
||||
class="np-cta-page-buttons"
|
||||
>
|
||||
{% form_authenticity_token %}
|
||||
<input type="hidden" name="_method" value="delete">
|
||||
<input type="submit" name="commit" value="{% t .resubscribe_button %}" class="np-button np-button-wide">
|
||||
</form>
|
||||
{% else %}
|
||||
<i class="np-cta-page-icon fal fa-bell-on"></i>
|
||||
<div class="np-form-subheadline np-margin-top">
|
||||
{% t .resubscribed_text %}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</main>
|
||||
{% include "footer" %}
|
||||
Reference in New Issue
Block a user