Skip to content

Commit

Permalink
Merge pull request #5 from pinax/waitinglist
Browse files Browse the repository at this point in the history
Add pinax-waitinglist semantic templates
  • Loading branch information
grahamu authored Jan 26, 2018
2 parents b5c09ff + d927929 commit 6ca3882
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
12 changes: 12 additions & 0 deletions pinax/templates/templates/pinax/waitinglist/_list_signup.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{% load bootstrap %}
<div id="waitinglist">
<p>Enter your email address to reserve your spot in our private beta&hellip;</p>

<form method="post" action="{% url 'pinax_waitinglist:ajax_list_signup' %}" class="form-inline ajax" data-replace="#waitinglist">
{% csrf_token %}
{{ form|bootstrap }}
<div class="form-actions">
<button>{% trans "Submit" %}</button>
</div>
</form>
</div>
3 changes: 3 additions & 0 deletions pinax/templates/templates/pinax/waitinglist/_success.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<div class="alert alert-success">
You have been added to the waiting list.
</div>

0 comments on commit 6ca3882

Please sign in to comment.