{% extends "basepledge.html" %} {% load humanize %} {% block title %}Pledge{% endblock %} {% block extra_extra_head %} {% endblock %} {% block doccontent %}
{{ work.title }}

{{ work.title }}

{{ work.author }}

{{ work.publication_date_year }}

${{ work.last_campaign.target|floatformat:0|intcomma }} needed by
{{ work.last_campaign.deadline }}
{{ work.last_campaign.supporters_count }} Ungluers have pledged ${{ work.last_campaign.current_total|intcomma }}
book list status
{% if faqmenu == 'modify' %}

You've already pledged to this campaign:

Amount: ${{preapproval_amount|intcomma}}.
Your premium: {% if transaction.premium %}{{ transaction.premium.description }}{% else %}You did not request a premium for this campaign.{% endif %}

You can modify your pledge below.
{% endif %} {% comment %} Even there is a CampaignPledgeForm in frontend/forms.py , the "widget" for premium_id is implemented in HTML here for now. {% endcomment %}
{% csrf_token %} {{ form.non_field_errors }}
{{ form.preapproval_amount.label_tag }}: {{ form.preapproval_amount.errors }}${{ form.preapproval_amount }}
Choose your premium:
Depending on your pledge amount, you'll also get these acknowledgements.
Any amount
The unglued ebook will be delivered to your inbox.
$25+
You'll be listed on the acknowledgements page of the unglued ebook. {{ form.ack_name.label_tag }} {{ form.ack_name.errors }}{{ form.ack_name }}
{{ form.anonymous.label_tag }} {{ form.anonymous.errors }}{{ form.anonymous }}
$100+
Your acknowledgement can include a dedication (140 characters max). {{ form.ack_dedication.label_tag }} {{ form.ack_dedication.errors }}{{ form.ack_dedication }}
{% comment %} When the pledge amount and premium are in an inconsistent state, the real button is disabled and (via css) hidden; instead we display this fake button with a helpful message. It's a button so we can reuse all the existing CSS for buttons, so that it looks like the real button has just changed in appearance. It's hidden and the other one un-disabled and un-hidden when the pledge & premium return to a correct state. People without javascript enabled will miss out on the front-end corrections but form validation will catch it. {% endcomment %}
{% if faqmenu == 'modify' %}We hope you won't, but of course you're also free to cancel your pledge.{% endif %}
{% if transaction.ack_name %} {% else %} {% endif %} {% endblock %}