Skip to content

Commit

Permalink
custom flatpage template to handle form to subscribe to listserv
Browse files Browse the repository at this point in the history
  • Loading branch information
rwblair committed Jan 12, 2016
1 parent efff8e9 commit 21f5fe5
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions open_fmri/templates/flatpages/subscribe.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{% extends 'base.html' %}
{% block title %}
{{ flatpage.title }}
{% endblock %}
{% block content %}
{{ flatpage.content }}
<form method="post" action="https://lists.stanford.edu/mailman/subscribe/openfmri_pub">
Your E-mail address: <input name="email" class="form-control"> Your Name (optional):
<input name="fullname" class="form-control">
<p><input type="submit" name="email-button" value="Subscribe" class="btn btn-primary"></p>
</form>
{% endblock %}

0 comments on commit 21f5fe5

Please sign in to comment.