Implement donations

This commit is contained in:
Trever Fischer
2012-04-11 15:13:57 -04:00
parent 1084d7a519
commit 3ff688304e
13 changed files with 142 additions and 2 deletions

View File

@@ -0,0 +1,11 @@
{% extends 'base_simple.html'%}
{% block content %}
<p>Donating to caminus helps keep us alive!</p>
<p>All donations recieve 2000gr per $1 USD. You must be logged in before donating to recieve this.</p>
<form method="POST">
{{form.as_p}}
{%csrf_token%}
<input type="submit"/>
</form>
{% endblock %}

View File

@@ -0,0 +1,3 @@
We have recieved a donation of {{donation.quantity}} through Dwolla.
Your account has been credited {{credit}}gr.