-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from pinax/waitinglist
Add pinax-waitinglist semantic templates
- Loading branch information
Showing
2 changed files
with
15 additions
and
0 deletions.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
pinax/templates/templates/pinax/waitinglist/_list_signup.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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…</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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |