Files
slump-x-land-studio/templates/chapter-access-actions.html

7 lines
701 B
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{% if chapter.price_usd >= 0.50 and stripe_enabled %}
{% if user.is_authenticated %}<form method="post" action="{% url 'buy-chapter' chapter.number %}">{% csrf_token %}<button type="submit" class="cta">Buy digital chapter · ${{ chapter.price_usd|floatformat:2 }}</button></form>
{% else %}<a class="cta" href="{% url 'fan-login' %}?next={% url 'chapter' chapter.number %}">Sign in to buy · ${{ chapter.price_usd|floatformat:2 }}</a>{% endif %}
{% endif %}
{% if physical_edition %}<a class="cta secondary" href="{% url 'shop-product' physical_edition.slug %}">Buy the physical book</a>{% endif %}
<a class="cta secondary" href="{% url 'membership' %}">Join Slump X Land’s Monthly Fan Club</a>