Skip to content

Commit cc0387a

Browse files
authored
Merge pull request #26 from HackBrexit/feature/18
Adds new Sign up form
2 parents c17f719 + ec5252a commit cc0387a

File tree

3 files changed

+33
-0
lines changed

3 files changed

+33
-0
lines changed

_includes/header.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
<li class="nav-item">
88
<a class="nav-link" href="gallery.html">Gallery</a>
99
</li>
10+
<li class="nav-item">
11+
<a class="nav-link" href="sign_up_form.html">Sign up form</a>
12+
</li>
1013
</ul>
1114
</nav>
1215

_layouts/sign_up_form.html

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{% include head.html %}
2+
3+
<div class="container">
4+
{% include header.html %}
5+
6+
<h1>Hack Brexit Mailing List</h1>
7+
8+
<p>Fill in your details here for us to keep you updated with the latest news about the Hack Brexit project.</p>
9+
10+
<form method="post" action="http://formspree.io/[email protected]">
11+
<div class="form-group">
12+
<label for="fullname">Full Name</label>
13+
<input type="name" name="name" class="form-control" id="fullname" placeholder="Your fullname">
14+
</div>
15+
16+
<div class="form-group">
17+
<label for="email">Email</label>
18+
<input type="email" email="email" class="form-control" id="email" placeholder="Your email">
19+
</div>
20+
21+
<button type="submit" class="btn btn-primary btn-block">Sign up for updates on Hack Brexit</button>
22+
</form>
23+
24+
</div>
25+
{% include footer.html %}
26+
27+
{% include foot.html %}

sign_up_form.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
---
2+
layout: sign_up_form
3+
---

0 commit comments

Comments
 (0)