2020-02-28 10:01:58 +00:00
|
|
|
{{!--
|
|
|
|
This subscribe template is used to display the form where users can subscribe.
|
|
|
|
You need to enable the members feature first.
|
|
|
|
--}}
|
|
|
|
|
|
|
|
<div class="m-subscribe-section__form">
|
|
|
|
<form data-members-form="subscribe" id="newsletter-form" class="m-subscribe-section__container">
|
|
|
|
<div class="m-subscribe__form">
|
|
|
|
<fieldset>
|
|
|
|
<label for="newsletter_input" class="sr-only">{{t "Your email address"}}</label>
|
|
|
|
<input data-members-email id="newsletter-input" class="m-input in-subscribe-section" type="email"
|
|
|
|
placeholder="{{t "Your email address"}}" required />
|
|
|
|
</fieldset>
|
|
|
|
<button id="newsletter_button" class="m-button primary block" type="submit">{{t "Subscribe"}}</button>
|
|
|
|
</div>
|
|
|
|
<div class="m-subscribe__success">
|
|
|
|
<header class="m-heading no-margin">
|
2020-03-15 21:35:04 +00:00
|
|
|
<img src="{{asset "images/success.png"}}" alt="Success!" class="m-subscribe__success_icon">
|
|
|
|
<p class="m-heading__description in-newsletter-form">
|
2020-02-28 10:01:58 +00:00
|
|
|
{{t "Now check your inbox and click the link to confirm your subscription."}}
|
|
|
|
</p>
|
|
|
|
</header>
|
|
|
|
</div>
|
|
|
|
<p class="m-subscribe__invalid m-small-text">
|
|
|
|
{{t "Please enter a valid email address"}}
|
|
|
|
</p>
|
|
|
|
<p class="m-subscribe__error m-small-text">
|
2020-03-15 21:35:04 +00:00
|
|
|
{{t "Oops! There was an error sending the email, please try later."}}
|
2020-02-28 10:01:58 +00:00
|
|
|
</p>
|
|
|
|
</form>
|
|
|
|
</div>
|