Instacart, while still in implementation, came to their AE (J.Jones) with some access issues. Some of these templates don't work yet (internal server errors) but backing them up just in case
This commit is contained in:
@ -0,0 +1,35 @@
|
||||
<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