Skip to content

Commit 48439eb

Browse files
committed
Embed mailchimp signup form (it works!)
1 parent cc79bc9 commit 48439eb

2 files changed

Lines changed: 54 additions & 10 deletions

File tree

_includes/apply.html

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,7 @@ <h2>We're excited to meet you. <span>Let's stay in touch.</span>
2020
<div class="panel-heading"><h4 class="nobottommargin">Subscribe to Newsletter</h4></div>
2121
<div class="panel-body" style="padding: 20px;">
2222

23-
<div id="widget-subscribe-form-result" data-notify-type="success" data-notify-msg=""></div>
24-
<!--<form id="widget-subscribe-form" action="#" role="form" method="#" class="nobottommargin" style="position: relative;">-->
25-
<form action="//learnersguild.us12.list-manage.com/subscribe/post?u=481a47142e2623453d4effb69&amp;id=4eb567d10d" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
26-
<div class="form-process"></div>
27-
<input type="text" name="widget-subscribe-form-name" class="form-control required" placeholder="Name" style="margin-bottom: 15px;">
28-
<input type="email" name="widget-subscribe-form-email" class="form-control required email" placeholder="Email" style="margin-bottom: 15px;">
29-
<button class="btn btn-default" type="submit">Subscribe Now</button>
30-
</form>
31-
</div>
32-
23+
{% include mailchimp_signup.html %}
3324
</div>
3425
</div>
3526
</div>

_includes/mailchimp_signup.html

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
<!-- Begin MailChimp Signup Form -->
2+
<link href="//cdn-images.mailchimp.com/embedcode/classic-10_7.css" rel="stylesheet" type="text/css">
3+
<style type="text/css">
4+
#mc_embed_signup {
5+
background: #fff;
6+
clear: left;
7+
font: 14px Helvetica, Arial, sans-serif;
8+
}
9+
/* Add your own MailChimp form style overrides in your site stylesheet or in this style block.
10+
We recommend moving this block and the preceding CSS link to the HEAD of your HTML file. */
11+
</style>
12+
<div id="mc_embed_signup">
13+
<form action="//learnersguild.us12.list-manage.com/subscribe/post?u=481a47142e2623453d4effb69&amp;id=4eb567d10d" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
14+
<div id="mc_embed_signup_scroll">
15+
<div class="indicates-required"><span class="asterisk">*</span> indicates required</div>
16+
<div class="mc-field-group">
17+
<label for="mce-EMAIL">Email Address <span class="asterisk">*</span>
18+
</label>
19+
<input type="email" value="" name="EMAIL" class="required email" id="mce-EMAIL">
20+
</div>
21+
<div class="mc-field-group">
22+
<label for="mce-NAME">Full Name <span class="asterisk">*</span>
23+
</label>
24+
<input type="text" value="" name="NAME" class="required" id="mce-NAME">
25+
</div>
26+
<div class="mc-field-group input-group">
27+
<strong>Email Format </strong>
28+
<ul>
29+
<li>
30+
<input type="radio" value="html" name="EMAILTYPE" id="mce-EMAILTYPE-0">
31+
<label for="mce-EMAILTYPE-0">html</label>
32+
</li>
33+
<li>
34+
<input type="radio" value="text" name="EMAILTYPE" id="mce-EMAILTYPE-1">
35+
<label for="mce-EMAILTYPE-1">text</label>
36+
</li>
37+
</ul>
38+
</div>
39+
<div id="mce-responses" class="clear">
40+
<div class="response" id="mce-error-response" style="display:none"></div>
41+
<div class="response" id="mce-success-response" style="display:none"></div>
42+
</div>
43+
<!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
44+
<div style="position: absolute; left: -5000px;" aria-hidden="true">
45+
<input type="text" name="b_481a47142e2623453d4effb69_4eb567d10d" tabindex="-1" value="">
46+
</div>
47+
<div class="clear"></div>
48+
<input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="button">
49+
</div>
50+
</form>
51+
</div>
52+
53+
<!--End mc_embed_signup-->

0 commit comments

Comments
 (0)