Files @ ecabf31e54b9
Branch filter:

Location: symposion_app/pinaxcon/templates/registrasion/product_category.html

Christopher Neugebauer
Assorted fixes (#47)

* Invokes the site tree fix from previous fixes.

* Adds a disclaimer noting that previous years’ accounts have not been carried over.

Fixes #43

* Adds proposal type to the proposal summary page.

Fixes #40

* Adds travel/accommodation assistance to the proposals page, but makes it only visible to speakers in the proposal, or review managers.

Fixes #41.
Fixes #42.

* Reduces a lot of the whitespace in the header and footer.

Fixes #44

* Proposals review page now shows information for every speaker on a proposal.

Fixes #45

* Makes sure that non_field_errors are displayed by forms.

Fixes #37
{% extends "registrasion/base.html" %}
{% load bootstrap %}
{% load registrasion_tags %}
{% block body %}

  <h1>Product Category: {{ category.name }}</h1>

  <form method="post" action="">
    {% csrf_token %}

    <table>
        {{ voucher_form | bootstrap }}
    </table>

    <div class="form-actions">
        <input class="btn btn-primary" type="submit" value="Add voucher" />
    </div>

    {% items_purchased category as items %}
    {% if items %}
      <h3>Paid items</h3>
      <p>You have already paid for the following items:</p>
      {% include "registrasion/items_list.html" with items=items %}
    {% endif %}


    {% if discounts %}
      <h3>Available Discounts</h3>
      {% include "registrasion/discount_list.html" with discounts=discounts %}
    {% endif %}

    <h3>Available Products</h3>
    <p>{{ category.description }}</p>
    <table>
        {{ form | bootstrap }}
    </table>

    <div class="form-actions">
        <input class="btn btn-primary" type="submit" value="Add to cart" />
    </div>

  </form>


{% endblock %}