Skip to content

Commit

Permalink
Add Mailchimp newsletter form
Browse files Browse the repository at this point in the history
  • Loading branch information
gunthercox committed Dec 3, 2017
1 parent be5b9a9 commit e553cb3
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions docs/_templates/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,45 @@
</a>
</td>
</tr>
<tr>
<td colspan="2">
<div id="mc_embed_signup">
<form action="//salvius.us15.list-manage.com/subscribe/post?u=580aa1ae653acac0a2d60dc17&amp;id=6ebc548663" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
<div id="mc_embed_signup_scroll">
<h2>Subscribe to the ChatterBot Newsletter</h2>
<div class="mc-field-group">
<label for="mce-EMAIL">Email Address </label>
<input type="email" value="" name="EMAIL" class="required email" id="mce-EMAIL">
</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_580aa1ae653acac0a2d60dc17_6ebc548663" tabindex="-1" value=""></div>
<div class="clear"><input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="button"></div>
</div>
</form>
</div>
</td>
</tr>
</tbody>
</table>
</div>

<script type="text/javascript" src="//s3.amazonaws.com/downloads.mailchimp.com/js/mc-validate.js"></script>
<script type='text/javascript'>
(function($) {
window.fnames = new Array();
window.ftypes = new Array();
fnames[0]='EMAIL';
ftypes[0]='email';
fnames[1]='FNAME';
ftypes[1]='text';
fnames[2]='LNAME';
ftypes[2]='text';
}(jQuery));
var $mcj = jQuery.noConflict(true);
</script>
{{ super() }}
{% endblock %}

0 comments on commit e553cb3

Please sign in to comment.