2012-09-06 05:01:17 +00:00
|
|
|
{% extends "basepledge.html" %}
|
|
|
|
{% load humanize %}
|
|
|
|
|
2013-08-20 02:54:43 +00:00
|
|
|
{% block title %}Fund Your {{ action }}{% endblock %}
|
2012-09-06 05:01:17 +00:00
|
|
|
|
|
|
|
{% block extra_extra_head %}
|
2012-10-15 03:38:18 +00:00
|
|
|
{% include "stripe_stuff.html" %}
|
2014-02-20 03:18:23 +00:00
|
|
|
{% include "cardscripts.html" %}
|
2012-10-01 19:53:41 +00:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block news %}
|
2012-09-06 05:01:17 +00:00
|
|
|
{% endblock %}
|
|
|
|
|
2012-10-01 19:31:17 +00:00
|
|
|
{% block content %}
|
|
|
|
<div class="jsmodule rounded clearfix central">
|
2012-09-06 05:01:17 +00:00
|
|
|
<div class="jsmod-content">
|
2012-10-01 19:31:17 +00:00
|
|
|
|
2012-10-09 20:13:22 +00:00
|
|
|
{% if nonprofit.is_on %}
|
|
|
|
|
|
|
|
<div class="fund_options clearfix">
|
|
|
|
<div id="donate_area">
|
|
|
|
<form method="GET" action="{{ nonprofit.link }}">
|
|
|
|
{{ donate_form.non_field_errors }}
|
|
|
|
{{ donate_form }}
|
2012-11-27 18:32:25 +00:00
|
|
|
<input name="donate_submit" type="submit" value="Donate" id="donate_submit" class="loader-gif" />
|
2012-10-09 20:13:22 +00:00
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
<div id="pledge_area">
|
2013-09-06 17:58:23 +00:00
|
|
|
<a class="fakeinput" id="pledge_option">{{ action|capfirst }}</a>
|
2012-10-09 20:13:22 +00:00
|
|
|
</div>
|
2012-10-01 19:31:17 +00:00
|
|
|
</div>
|
2012-10-09 20:13:22 +00:00
|
|
|
|
|
|
|
<div class="fund_options clearfix">
|
|
|
|
<div id="donate_explanation">
|
|
|
|
<ul>
|
|
|
|
<li>Donate to our partner nonprofit, {{ nonprofit.name }}</li>
|
|
|
|
<li>Pay immediately</li>
|
2013-12-13 20:15:35 +00:00
|
|
|
<li>If the campaign succeeds, your gift will support it</li>
|
|
|
|
<li>If not, your gift will support {{ nonprofit.name }}</li>
|
2012-10-09 20:13:22 +00:00
|
|
|
<li><a href="#">Learn more</a></li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<div id="pledge_explanation">
|
|
|
|
<ul>
|
|
|
|
<li>Pledge toward this campaign</li>
|
|
|
|
<li>Pay later, only if this campaign succeeds</li>
|
|
|
|
<li>Your pledge will be used only to support this campaign.</li>
|
|
|
|
<li><a href="#">Learn more</a></li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
2012-10-01 19:31:17 +00:00
|
|
|
</div>
|
2012-10-09 20:13:22 +00:00
|
|
|
|
|
|
|
{% endif %}
|
2012-11-20 15:10:30 +00:00
|
|
|
|
2014-02-20 03:18:23 +00:00
|
|
|
{% include 'cardform.html' %}
|
2012-10-01 19:31:17 +00:00
|
|
|
|
2012-10-09 20:13:22 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2012-10-01 19:31:17 +00:00
|
|
|
|
2012-09-06 05:01:17 +00:00
|
|
|
{% endblock %}
|
|
|
|
|