2017-01-01 15:24:19 +00:00
|
|
|
{% comment %}
|
|
|
|
|
|
|
|
This partial requires these parameters:
|
|
|
|
|
|
|
|
* `form_id`: The type of Supportership this form enrolls. One of "annual",
|
|
|
|
"monthly", or "renewal".
|
|
|
|
Note that the form substantially changes the form based on this value.
|
|
|
|
If you're changing this later to add a type, you'll want to consider how
|
|
|
|
to handle all those.
|
|
|
|
* `min_amt`: The lowest amount of support the form will accept.
|
|
|
|
|
|
|
|
This partial accepts these optional parameters:
|
|
|
|
|
|
|
|
* `supptype`: Used in text to describe what type of Supporter this is.
|
|
|
|
By default, it's generated from form_id.
|
|
|
|
Override it for renewals.
|
|
|
|
* `article`: Used in front of `form_id` when it's written in the form.
|
|
|
|
Default "a". Set it to "an" when `supptype` begins with a vowel.
|
|
|
|
* `verb`: Used in form text to describe the sign-up process.
|
|
|
|
Default "join". Use "renew" when `form_id` is "renewal".
|
|
|
|
* `default_amt`: The amount of support the form loads with.
|
|
|
|
Default `min_amt`.
|
|
|
|
* `partial_amt`: This form is for a donor who previously gave `partial_amt`,
|
|
|
|
and is letting them contribute `min_amt` more to get up the usual
|
|
|
|
Supporter amount. This is attached to the form as a data attribute.
|
|
|
|
|
|
|
|
{% endcomment %}
|
|
|
|
|
|
|
|
{% with supptype=supptype|default:form_id article=article|default:"a" verb=verb|default:"join" default_amt=default_amt|default:min_amt partial_amt=partial_amt|default:0 %}
|
|
|
|
<div id="{{ form_id }}" class="supporter-type-selection">
|
2021-10-15 00:23:42 +00:00
|
|
|
<h3>{{ verb|capfirst }} as {{ article }} {{ supptype|capfirst }} Sustainer</h3>
|
2017-01-01 15:24:19 +00:00
|
|
|
|
2017-01-01 18:53:41 +00:00
|
|
|
<p class="prolog"><span>Note:</span>
|
|
|
|
{% if form_id == "annual" %}
|
2021-10-15 00:23:42 +00:00
|
|
|
Annual Sustainers do not automatically renew. If you join today, you'll
|
2017-01-01 21:38:12 +00:00
|
|
|
receive an email to renew in about a year.
|
2017-01-01 18:53:41 +00:00
|
|
|
{% elif form_id == "monthly" %}
|
2021-10-15 00:23:42 +00:00
|
|
|
Monthly Sustainers automatically pay each month until you cancel
|
2017-01-01 21:38:12 +00:00
|
|
|
payments in PayPal. You'll be added to
|
2021-10-15 00:23:42 +00:00
|
|
|
our <a href="/sponsors/#sustainers" target="_blank">Sustainers list</a> as soon as we
|
2017-01-01 21:38:12 +00:00
|
|
|
process your first payment. You may not receive other benefits (like
|
|
|
|
the shirt) until you've paid at least
|
2017-01-01 15:24:19 +00:00
|
|
|
{# Six months of payments #}
|
2017-01-01 21:38:12 +00:00
|
|
|
${{ min_amt|add:min_amt|add:min_amt|add:min_amt|add:min_amt|add:min_amt }}.
|
2017-01-01 18:53:41 +00:00
|
|
|
{% elif form_id == "renewal" %}
|
2021-10-15 00:23:42 +00:00
|
|
|
This form is for annual Sustainers who want to renew their support this
|
|
|
|
year. If you're a new Conservancy Sustainer, please select another
|
2017-01-01 21:38:12 +00:00
|
|
|
form.
|
2017-01-01 18:53:41 +00:00
|
|
|
{% endif %}
|
|
|
|
</p>
|
2017-01-01 15:24:19 +00:00
|
|
|
|
|
|
|
<form class="supporter-form" method="post" target="_top"
|
|
|
|
action="https://www.paypal.com/cgi-bin/webscr"
|
|
|
|
data-upgrade-from-amount="{{ partial_amt }}">
|
|
|
|
<div class="supporter-form-inputs">
|
|
|
|
<input type="hidden" name="business" value="supporter@sfconservancy.org">
|
2021-10-15 00:23:42 +00:00
|
|
|
<input type="hidden" name="return" value="https://sfconservancy.org/sustainer/thank-you.html">
|
2017-02-03 15:32:45 +00:00
|
|
|
<input type="hidden" name="lc" value="US">
|
2017-01-01 15:24:19 +00:00
|
|
|
<input type="hidden" name="no_shipping" value="0">
|
|
|
|
<input type="hidden" name="item_name"
|
2021-10-15 00:23:42 +00:00
|
|
|
value="Conservancy Sustainer, {{ supptype|capfirst }}{% if form_id == "renewal" %} Renewal{% endif %}"
|
2017-01-01 15:24:19 +00:00
|
|
|
>
|
2017-01-01 18:53:41 +00:00
|
|
|
|
|
|
|
<div class="supporter-form-input">
|
|
|
|
{% if form_id == "monthly" %}
|
|
|
|
<input type="hidden" name="cmd" value="_xclick-subscriptions">
|
|
|
|
<input type="hidden" name="no_note" value="1">
|
|
|
|
<input type="hidden" name="t3" value="M">
|
|
|
|
<input type="hidden" name="p3" value="1">
|
|
|
|
<input type="hidden" name="src" value="1">
|
2017-01-01 20:10:20 +00:00
|
|
|
<label for="a3">Monthly Amount: </label>
|
|
|
|
<div class="input-group">
|
2017-01-01 21:10:21 +00:00
|
|
|
$ <input type="number" name="a3" size="5" tabindex="10"
|
2017-01-01 18:53:41 +00:00
|
|
|
min="{{ min_amt }}" value="{{ default_amt }}">
|
|
|
|
{% else %}
|
|
|
|
<input type="hidden" name="cmd" value="_xclick">
|
2017-01-01 20:10:20 +00:00
|
|
|
<label for="amount">Amount: </label>
|
|
|
|
<div class="input-group">
|
2017-01-01 21:10:21 +00:00
|
|
|
$ <input type="number" name="amount" size="5" tabindex="10"
|
2017-01-01 18:53:41 +00:00
|
|
|
min="{{ min_amt }}" value="{{ default_amt }}">
|
|
|
|
{% endif %}
|
2017-01-01 20:10:20 +00:00
|
|
|
</div>
|
2017-01-09 21:56:42 +00:00
|
|
|
<p class="form-error">${{ min_amt|add:partial_amt }} is a minimum for
|
2021-10-15 00:23:42 +00:00
|
|
|
Conservancy Sustainers.
|
2017-01-09 21:56:42 +00:00
|
|
|
<a href="/donate">Donate smaller amounts here</a>.</p>
|
2017-01-01 18:53:41 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="supporter-form-input">
|
2017-01-01 21:31:01 +00:00
|
|
|
<label for="on0">Do you want to receive
|
2017-01-01 15:24:19 +00:00
|
|
|
{% if form_id == "renewal" %}
|
|
|
|
another
|
|
|
|
{% else %}
|
|
|
|
a
|
|
|
|
{% endif %}
|
2017-01-01 21:38:12 +00:00
|
|
|
shirt? </label>
|
2017-01-01 20:10:20 +00:00
|
|
|
<div class="input-group">
|
2017-01-01 21:10:21 +00:00
|
|
|
<input type="radio" tabindex="20" name="on0" value="wantGiftYes">Yes
|
|
|
|
<input type="radio" tabindex="20" checked="checked" name="on0" value="wantGiftNo">No
|
2017-01-01 20:10:20 +00:00
|
|
|
</div>
|
2017-01-01 18:53:41 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="supporter-form-input t-shirt-size-selector">
|
2017-01-01 21:38:12 +00:00
|
|
|
<label for="os0">Shirt size: </label>
|
2017-01-01 20:10:20 +00:00
|
|
|
<div class="input-group">
|
2017-01-01 21:10:21 +00:00
|
|
|
<select name="os0" tabindex="30">
|
2017-01-02 16:24:14 +00:00
|
|
|
<optgroup label="Men's Tees">
|
|
|
|
<option value="MenS">Men's S</option>
|
|
|
|
<option value="MenM">Men's M</option>
|
|
|
|
<option value="MenL">Men's L</option>
|
|
|
|
<option value="MenXL">Men's XL</option>
|
|
|
|
<option value="Men2XL">Men's 2XL</option>
|
|
|
|
</optgroup>
|
|
|
|
<optgroup label="Women's Standard Tees">
|
|
|
|
<option value="StandardLadiesS">Standard Women's S</option>
|
|
|
|
<option value="StandardLadiesM">Standard Women's M</option>
|
|
|
|
<option value="StandardLadiesL">Standard Women's L</option>
|
|
|
|
<option value="StandardLadiesXL">Standard Women's XL</option>
|
2017-09-26 16:56:22 +00:00
|
|
|
<option value="StandardLadies2XL">Standard Women's 2XL</option>
|
2017-01-02 16:24:14 +00:00
|
|
|
</optgroup>
|
|
|
|
<optgroup label="Women's Fitted Tees">
|
|
|
|
<option value="FittedLadiesS">Fitted Women's S</option>
|
|
|
|
<option value="FittedLadiesM">Fitted Women's M</option>
|
|
|
|
<option value="FittedLadiesL">Fitted Women's L</option>
|
|
|
|
<option value="FittedLadiesXL">Fitted Women's XL</option>
|
2017-09-26 16:56:22 +00:00
|
|
|
<option value="FittedLadies2XL">Fitted Women's 2XL</option>
|
2017-01-02 16:24:14 +00:00
|
|
|
</optgroup>
|
2017-01-01 20:10:20 +00:00
|
|
|
</select>
|
|
|
|
</div>
|
2021-11-27 18:41:27 +00:00
|
|
|
<p>Size info: <a href="https://sfconservancy.org/videos/women-2017-to-2020-t-shirt-sizing.jpg">Women's</a>,
|
|
|
|
<a href="https://sfconservancy.org/videos/men-2017-to-2020-t-shirt-sizing.jpg">Men's</a></p>
|
2017-01-01 18:53:41 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="supporter-form-input">
|
|
|
|
<label for="publicAck">
|
2023-11-24 18:50:29 +00:00
|
|
|
Would you like to be <a href="/sponsors#sustainers" target="_blank">publically acknowledged</a>? </label>
|
2017-01-01 20:10:20 +00:00
|
|
|
<div class="input-group">
|
2017-01-01 21:10:21 +00:00
|
|
|
<input type="radio" tabindex="40" checked="checked" name="on1" value="publicAckYes">Yes
|
|
|
|
<input type="radio" tabindex="40" name="on1" value="publicAckNo">No
|
2017-01-01 20:10:20 +00:00
|
|
|
</div>
|
2017-01-01 18:53:41 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="supporter-form-input">
|
|
|
|
<label for="joinList">Join Conservancy's
|
2017-01-01 21:38:12 +00:00
|
|
|
low-traffic announcement list? </label>
|
2017-01-01 20:10:20 +00:00
|
|
|
<div class="input-group">
|
2017-01-01 21:10:21 +00:00
|
|
|
<input type="radio" tabindex="50" checked="checked" name="os1" value="joinListYes">Yes
|
|
|
|
<input type="radio" tabindex="50" name="os1" value="joinListNo">No
|
2017-01-01 20:10:20 +00:00
|
|
|
</div>
|
2017-01-01 18:53:41 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="supporter-form-submit">
|
2022-11-28 17:48:53 +00:00
|
|
|
<input style="height: 40px; width: 200px; font-size: 18px;background-color: rgb(175, 228, 120);" type="submit" value="Become a Sustainer!" alt="{{ verb|capfirst }} as {{ article }} {{ supptype|capfirst }} Sustainer Now!">
|
2017-01-01 21:38:12 +00:00
|
|
|
<p>This button will send you to PayPal's site to select a payment
|
|
|
|
method and finish this process. Please double-check your selections
|
|
|
|
first.</p>
|
2017-01-01 15:24:19 +00:00
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
{% endwith %}
|