-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8509 from readthedocs/juanlu/change-newsletter-form
Change newsletter form
- Loading branch information
Showing
3 changed files
with
46 additions
and
31 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -134,34 +134,52 @@ | |
|
||
{% block footer-content %} | ||
|
||
<div class="column-logo"> | ||
<div id="email-signup"> | ||
<form action="https://readthedocs.us3.list-manage.com/subscribe/post?u=a6a22369cc2b356379cf789ca&id=a85a83a5a5" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate> | ||
<div> | ||
<h4>{% trans 'Stay Updated' %}</h4> | ||
|
||
<ul> | ||
<li> | ||
<a href="https://blog.readthedocs.com/">{% trans 'Blog' %}</a> | ||
</li> | ||
</ul> | ||
|
||
<p>{% trans 'Sign up for our newsletter to get our latest blog updates delivered to your inbox weekly.' %}</p> | ||
<div> | ||
<label for="mce-EMAIL">{% trans 'Email' %}</label> | ||
<input type="email" value="" name="EMAIL" class="required email" id="mce-EMAIL" placeholder="[email protected]"> | ||
<div id="mlb2-4726913" class="column-logo ml-form-embedContainer ml-subscribe-form ml-subscribe-form-4726913"> | ||
<div id="email-signup" class="ml-form-align-center"> | ||
<div class="ml-form-embedWrapper embedForm"> | ||
<div class="ml-form-embedBody ml-form-embedBodyDefault row-form"> | ||
<div class="ml-form-embedContent"> | ||
<h4>{% trans 'Stay Updated' %}</h4> | ||
|
||
<ul> | ||
<li> | ||
<a href="https://blog.readthedocs.com/">{% trans 'Blog' %}</a> | ||
</li> | ||
</ul> | ||
|
||
<p>{% trans 'Sign up for our newsletter to get our latest blog updates delivered to your inbox weekly.' %}</p> | ||
</div> | ||
<div id="mce-responses" class="clear"> | ||
<div class="response" id="mce-error-response" style="display:none"></div> | ||
<div class="response" id="mce-success-response" style="display:none"></div> | ||
</div> <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups--> | ||
<div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_a6a22369cc2b356379cf789ca_a85a83a5a5" tabindex="-1" value=""></div> | ||
<div class="clear"><input type="submit" value="{% trans 'Subscribe' %}" name="subscribe" id="mc-embedded-subscribe" class="button"></div> | ||
<form class="validate ml-block-form" action="https://static.mailerlite.com/webforms/submit/t0a9l4" data-code="t0a9l4" method="post" target="_blank"> | ||
<div class="ml-form-formContent"> | ||
<div class="ml-form-fieldRow ml-last-item"> | ||
<div class="ml-field-group ml-field-email ml-validate-email ml-validate-required"> | ||
<label for="ml-EMAIL">{% trans 'Email' %}</label> | ||
<input aria-label="email" aria-required="true" type="email" id="ml-EMAIL" class="required email form-control" data-inputmask="" name="fields[email]" placeholder="[email protected]" autocomplete="email"> | ||
</div> | ||
</div> | ||
</div> | ||
<input type="hidden" name="ml-submit" value="1"> | ||
<div class="ml-form-embedSubmit"> | ||
<button type="submit" class="primary">{% trans 'Subscribe' %}</button> | ||
<button disabled="disabled" style="display:none" type="button" class="loading"> <div class="ml-form-embedSubmitLoad"></div> <span class="sr-only">Loading...</span> </button> | ||
</div> | ||
<input type="hidden" name="anticsrf" value="true"> | ||
</form> | ||
</div> | ||
</form> | ||
<div class="ml-form-successBody row-success" style="display:none"> | ||
<div class="ml-form-successContent"> | ||
<h4>{% trans 'Thank you!' %}</h4> | ||
<p>{% trans 'You have successfully joined our subscriber list.' %}</p> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
</div> | ||
<script> | ||
function ml_webform_success_4726913(){var r=ml_jQuery||jQuery;r(".ml-subscribe-form-4726913 .row-success").show(),r(".ml-subscribe-form-4726913 .row-form").hide()} | ||
</script> | ||
<img src="https://track.mailerlite.com/webforms/o/4726913/t0a9l4?v1632124791" width="1" height="1" style="max-width:1px;max-height:1px;visibility:hidden;padding:0;margin:0;display:block" alt="." border="0"> | ||
<script src="https://static.mailerlite.com/js/w/webforms.min.js?v0c75f831c56857441820dcec3163967c" type="text/javascript"></script> | ||
|
||
<div class="column-about"> | ||
<h4>{% trans 'Resources' %}</h4> | ||
|