7 lines
701 B
HTML
7 lines
701 B
HTML
{% 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>
|