{% if page.headline.size > 0 %}

{{ page.headline }}

{% endif %} {% if page.donation_v2.content.size > 0 %}
{{ page.donation_v2.content }}
{% endif %} {% assign thermo_width = 100 %} {% if page.donation_v2.has_amount_goal? %}
{% if page.donations_count < 1 %}
0%
{% else %}
{{ page.donations_amount_format }} raised
{% endif %}
GOAL: {{ page.donation_v2.amount_goal_format }}
{% elsif page.donation_v2.has_donor_goal? %}
{% if page.donations_count < 2 %}
0%
{% else %}
{{ page.donations_count }} donors
{% endif %}
{{ page.donation_v2.donor_goal }} donors
{% endif %}
{% form_for donation %}
{% error_messages_for donation %}
{% if page.donation_v2.has_merchant_account? == false %}
No payment processor: This page will not work until you add a payment processor
{% elsif page.donation_v2.merchant_account.is_test_mode? %}
Testing mode: Transactions will not be processed. Use your regular credit card to test, you will not actually be charged.
{% endif %}
  • Amount 1
  • Your Info 2
  • Payment 3
{% if request.current_order %}
    {% for item in request.current_order.items %}
  • {% if item.num_time_periods and item.time_period_type %} {{ item.quantity }} {{ item.name }} @ {{ item.amount }} - billed automatically every {{ item.num_time_periods }} {{item.time_period_type }} {% else %} {{ item.quantity }} {{ item.name }} @ {{ item.amount }} {% endif %}
  • {% endfor %}
{% else %}
{% if page.donation_v2.amount_in_cents != 0 %}

{{ page.donation_v2.amount_formatted }}

{% else %}
{{ page.donation_v2.form_amount_options }}
{% endif %} {% if page.donation_v2.accepts_variable_amounts? or page.donation_v2.donation_frequency == "any" %}
{% if page.donation_v2.accepts_variable_amounts? %}
{{ page.donation_v2.amount_other }}
{% endif %} {% if page.donation_v2.donation_frequency == "any" %}
{{ page.donation_v2.monthly_recurring_radio_buttons }}
{% endif %}
{% endif %} {% if page.donation_v2.donation_frequency == "monthly" %}
Paid monthly
{% endif %}
{% endif %}
Next
{% email_field "email", class:"text form-control" %}
{% text_field "first_name", class:"text form-control" %}
{% text_field "last_name", class:"text form-control" %}
{% collection_select "billing_address.country_code", page.donation_v2.countries, "code", "name", class:"select form-control" %}
{% text_field "billing_address.address1", class:"text form-control" %} {% text_field "billing_address.address2", class:"text form-control" %} {% text_field "billing_address.address3", class:"text not-us-or-canada hide form-control" %}
{% text_field "billing_address.city", class:"text form-control" %}
{% collection_select "billing_address.state", page.donation_v2.us_states, "code", "name", class:"select form-control" %}
{% text_field "billing_address.state", class:"text form-control" %}
{% text_field "billing_address.zip", class:"text form-control" %}
{% phone_field "billing_address.phone_number", class:"text form-control" %}
{% unless page.show_consent_form? %}
{% endunless %} {% if page.donation_v2.merchant_account.is_employer_and_occupation_required? %}
{% text_field "employer", class:"text form-control" %}
{% text_field "occupation", class:"text form-control" %}
{% if page.donation_v2.merchant_account.is_employer_address_required? %}
{% collection_select "work_address.country_code", page.donation_v2.countries, "code", "name", class:"select" %}
{% text_field "work_address.address1", class:"text form-control" %} {% text_field "work_address.address2", class:"text form-control" %} {% text_field "work_address.address3", class:"text form-control work-not-us-or-canada hide" %}
{% text_field "work_address.city", class:"text form-control" %}
{% text_field "work_address.state", class:"text form-control" %}
{% text_field "work_address.zip", class:"text form-control" %}
{% elsif page.donation_v2.merchant_account.is_employer_city_required? %}
{% collection_select "work_address.country_code", page.donation_v2.countries, "code", "name", class:"select" %}
{% text_field "work_address.city", class:"text form-control" %}
{% text_field "work_address.state", class:"text form-control" %}
{% text_field "work_address.zip", class:"text form-control" %}
{% endif %}
Law requires we ask for your employer and occupation. If you don't have an employer or are retired, put N/A, and if you are self-employed put "self-employed" in employer and describe your occupation.
{% endif %} {% if page.donation_v2.merchant_account.is_corporate_contribution_required? %}
{% endif %} {% for cf in custom_fields.donation %} {% assign custom_field = cf[1] %} {% assign custom_field_id = 'custom_values.' | append: custom_field.slug %}
{% if custom_field.is_text? %} {% text_field custom_field_id, class:"text" %} {% elsif custom_field.is_number? %} {% number_field custom_field_id, class:"text" %} {% elsif custom_field.is_boolean? %}
{% elsif custom_field.is_multiple_choice? %}
{% collection_select custom_field_id, custom_fields.donation[custom_field.slug].multiple_choice_options, class:"select form-control" %}
{% endif %}
{% endfor %} {% if page.donation_v2.merchant_account.is_taxable? %}
Contributions are not tax deductible.
{% else %}
Contributions are tax deductible.
{% endif %}
Next
{% payment_field 'card' %}
{% if page.donation_v2.merchant_account.has_contribution_rules? %} {{ page.donation_v2.merchant_account.contribution_rules }}
{% endif %} {% if site.ask_to_publish_to_stream? %}
{% endif %}
{% if request.current_order %} {{page.donation_v2.ticket_purchase_total}} {% else %} {% if page.donation_v2.confirmation_amount %} {{ page.donation_v2.currency_symbol }}{{ page.donation_v2.confirmation_amount }} {% else %} Please select an amount {% endif %} {% if page.donation_v2.donation_frequency == "one-time" %} {% elsif page.donation_v2.donation_frequency == "monthly" %}
paid monthly
{% else %}
{% if page.donation_v2.interval_monthly? %}paid monthly{% endif %}
{% endif %}
{% endif %}
{% if page.show_consent_form? %}{% include "consent_form" %}{% endif %}
{% if request.current_order %} {% submit_tag "Process payment", class:"submit-button btn btn-primary btn-lg" %} {% else %} {% submit_tag "Donate now", class:"submit-button btn btn-primary btn-lg" %} {% endif %}
{% endform_for %}