Skip to content

Commit 9ae9b5e

Browse files
committed
Convert HTML to ERB: Newsletter
1 parent c23f28e commit 9ae9b5e

File tree

2 files changed

+13
-9
lines changed

2 files changed

+13
-9
lines changed

app/views/home/show.html.erb

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,19 @@
203203
<br class="ignore-pc">
204204
<small>(毎月配信)</small>
205205
</p>
206-
<%= render partial: 'shared/newsletter' %>
206+
207+
<div id="mc_embed_signup">
208+
<form id="mc-embedded-subscribe-form" class="validate" action="https://coderdojo.us17.list-manage.com/subscribe/post?u=39a5824e42ab56ec44bb4e84e&amp;id=097dfa6a14" method="post" name="mc-embedded-subscribe-form" novalidate="" target="_blank">
209+
<div id="mc_embed_signup_scroll">
210+
<input id="mce-EMAIL" type="email" name="EMAIL" class="email" placeholder="[email protected]">
211+
<div style="position: absolute; left: -5000px;" aria-hidden="true">
212+
<input tabindex="-1" name="b_39a5824e42ab56ec44bb4e84e_097dfa6a14" type="text" value="">
213+
</div>
214+
<input id="mc-embedded-subscribe" class="button" name="subscribe" type="submit" value="購読する">
215+
</div>
216+
</form>
217+
</div>
218+
207219
<div class="btn-cover" style="margin-top: 40px;">
208220
<a class="btn-blue" href="<%= news_url %>">
209221
<i class="far fa-newspaper"></i>

app/views/shared/_newsletter.html.haml

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)