Created
July 16, 2020 02:59
-
-
Save rolis19/7a76bf9f9730d01a498d5d2d83d206aa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="modal-content"> | |
<span class="close1">×</span> | |
<div class="popup-sub"> | |
<h4>SUBSCRIBE TO REEBOK FITNESS</h4> | |
<p>Keep up to date with the latest news, promotional offers and fitness tips.</p> | |
<p>By subscribing you accept that you have read and agree to our Terms & Conditions and Privacy Policy.</p> | |
{%- form 'customer', id: 'footer-newsletter', class: 'Footer__Newsletter Form' -%} | |
{%- if form.posted_successfully? -%} | |
<p class="Form__Alert Alert Alert--success">You have been subscribed to our newsletter.</p> | |
{%- else -%} | |
{%- if form.errors -%} | |
<p class="Form__Alert Alert Alert--error">{{ form.errors.messages['email'] }}</p> | |
{%- endif -%} | |
<input type="hidden" name="contact[tags]" value="newsletter"> | |
<input type="email" name="contact[email]" class="Form__Input" aria-label="Email Address" placeholder="Email Address" required> | |
<button type="submit" class="Form__Submit Button Button--primary footerButton">Subscribe</button> | |
{%- endif -%} | |
{%- endform -%} | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment