File tree 4 files changed +34
-14
lines changed
4 files changed +34
-14
lines changed Original file line number Diff line number Diff line change @@ -66,12 +66,8 @@ <h2>Resources</h2>
66
66
< ul >
67
67
< li class ="list-title "> Follow Us</ li >
68
68
< li >
69
- < form action ="/email-subscribe " class ="email-subscribe-form ">
70
- < div class ="email-subscribe-form-fields-wrapper ">
71
- < input type ="email " name ="email_subscribe " placeholder ="Enter your email address " />
72
- < button class ="email-subscribe-button "> </ button >
73
- </ div >
74
- </ form >
69
+ {% capture placeholder %}Email Address{% endcapture %}
70
+ {% include newsletter_subscribe_form.html placeholder=placeholder %}
75
71
</ li >
76
72
</ ul >
77
73
Original file line number Diff line number Diff line change
1
+ < div id ="mc_embed_signup ">
2
+ < form
3
+ action ="https://twitter.us14.list-manage.com/subscribe/post?u=75419c71fe0a935e53dfa4a3f&id=91d0dccd39 "
4
+ method ="post "
5
+ id ="mc-embedded-subscribe-form "
6
+ name ="mc-embedded-subscribe-form "
7
+ class ="email-subscribe-form validate "
8
+ target ="_blank "
9
+ novalidate >
10
+ < div id ="mc_embed_signup_scroll " class ="email-subscribe-form-fields-wrapper ">
11
+ < div class ="mc-field-group ">
12
+ < label for ="mce-EMAIL " style ="display:none; "> Email Address</ label >
13
+ < input type ="email " value ="" name ="EMAIL " class ="required email " id ="mce-EMAIL " placeholder ="{{ placeholder }} ">
14
+ </ div >
15
+
16
+ < div id ="mce-responses " class ="clear ">
17
+ < div class ="response " id ="mce-error-response " style ="display:none "> </ div >
18
+ < div class ="response " id ="mce-success-response " style ="display:none "> </ div >
19
+ </ div > <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
20
+
21
+ < div style ="position: absolute; left: -5000px; " aria-hidden ="true "> < input type ="text " name ="b_75419c71fe0a935e53dfa4a3f_91d0dccd39 " tabindex ="-1 " value =""> </ div >
22
+
23
+ < div class ="clear ">
24
+ < input type ="submit " value ="" name ="subscribe " id ="mc-embedded-subscribe " class ="button email-subscribe-button ">
25
+ </ div >
26
+ </ div >
27
+ </ form >
28
+ </ div >
Original file line number Diff line number Diff line change @@ -161,7 +161,7 @@ pre {
161
161
}
162
162
163
163
.email-subscribe-form {
164
- input {
164
+ input .email {
165
165
color : $orange ;
166
166
border : none ;
167
167
border-bottom : 1px solid #939393 ;
@@ -186,7 +186,7 @@ pre {
186
186
color : $orange ;
187
187
}
188
188
189
- button {
189
+ input [ type = " submit " ] {
190
190
position : absolute ;
191
191
right : 0 ;
192
192
top : 10px ;
Original file line number Diff line number Diff line change @@ -119,12 +119,8 @@ <h2>Our Community</h2>
119
119
</ div >
120
120
</ div >
121
121
122
- < form action ="/email-subscribe " class ="email-subscribe-form ">
123
- < div class ="email-subscribe-form-fields-wrapper ">
124
- < input type ="email " name ="email_subscribe " placeholder ="Enter your email address to join our newsletter. " />
125
- < button class ="email-subscribe-button "> </ button >
126
- </ div >
127
- </ form >
122
+ {% capture placeholder %}Enter your email address to join our newsletter{% endcapture %}
123
+ {% include newsletter_subscribe_form.html placeholder=placeholder %}
128
124
</ div >
129
125
</ div >
130
126
</ div >
You can’t perform that action at this time.
0 commit comments