|
|
|
|
|
/2019-test/design-elements/receive-newsletter/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/2019-test/design-elements/
|
|
|
|
|
|
|
|
|
|
|
|
<ss:logic:if test="!(\Components\Customers\Contacts::currentIsLoggedIn())">
<h3 style="text-align: center;">Receive our newsletter</h3>
<p style="text-align: center;">Sign up now to receive the latest news about our classes and events!</p>
<ss:forms:form id="newsletter_registration" contactmode="store" onsubmitredirect="/community/register/success/">
<ss:forms:row type="one_column" label="" description="" align="center">
<ss:forms:editbox id="contact_first_name" validations="mandatory" placeholder="First Name" width="200" class="margin-bottom20" /><br />
<ss:forms:editbox id="contact_last_name" validations="mandatory" placeholder="Last Name" width="200" class="margin-bottom20" /><br />
<ss:forms:editbox id="contact_email" validations="mandatory,email" placeholder="Email Address" transformations="tolower" width="200" class="margin-bottom20" /><br />
<ss:forms:submitbutton value="Sign up" />
</ss:forms:row>
</ss:forms:form>
</ss:logic:if>
<ss:logic:else>
<ss:logic:if test="\Components\Customers\Contacts::currentGetColumn('contact_email_marketing_status') != 'subscribed'">
<h2 style="text-align: center;">Receive our newsletter</h2>
<p style="text-align: center;">Sign up now to receive the latest news about our classes and events!</p>
<p style="text-align: center;">You are <strong>currently not subscribed</strong> to the newsletter.<br /><br />
<a href="/community/profile/"><span class="glyphicon glyphicon-envelope" aria-hidden="true"></span> Subscribe to the newsletter</a></p>
</ss:logic:if>
<ss:logic:else>
<h3 style="text-align: center;">Receive our newsletter</h3>
<p style="text-align: center;">Sign up now to receive the latest news about our classes and events!</p>
<p style="text-align: center;">You are <strong>currently subscribed</strong> to the newsletter.<br /><br />
<a href="/community/email/unsubscribe/"><span class="glyphicon glyphicon-remove" aria-hidden="true"></span> Unsubscribe</a></p>
</ss:logic:else>
</ss:logic:else>
|
|
|