Files
@ 34509d23eb9f
Branch filter:
Location: symposion_app/pinaxcon/templates/registrasion/guided_registration.html - annotation
34509d23eb9f
1.6 KiB
text/html
Make vendored symposion into an installable Python package
This allows us to install with `pip install "-e vendor/symposion"` similar to
the other vendored packages. There's no good reason for this to be different to
the others and depend on PYTHONPATH hacking.
Re-add
This allows us to install with `pip install "-e vendor/symposion"` similar to
the other vendored packages. There's no good reason for this to be different to
the others and depend on PYTHONPATH hacking.
Re-add
6c94eb9e91ee 5409d4974aed 6c94eb9e91ee 539fa2dfdd2b 539fa2dfdd2b 6c94eb9e91ee a3474fd9cd4c a3474fd9cd4c a3474fd9cd4c a3474fd9cd4c 539fa2dfdd2b 348e1c5c820c 348e1c5c820c 348e1c5c820c 348e1c5c820c 348e1c5c820c 348e1c5c820c 348e1c5c820c 348e1c5c820c 348e1c5c820c 348e1c5c820c 348e1c5c820c 539fa2dfdd2b a3474fd9cd4c 6c94eb9e91ee d65177601644 d65177601644 6c94eb9e91ee 6c94eb9e91ee 6c94eb9e91ee d65177601644 6c94eb9e91ee d65177601644 d65177601644 d65177601644 a3474fd9cd4c d65177601644 539fa2dfdd2b 539fa2dfdd2b 539fa2dfdd2b a3474fd9cd4c 539fa2dfdd2b a3474fd9cd4c 539fa2dfdd2b 539fa2dfdd2b 539fa2dfdd2b d65177601644 539fa2dfdd2b 539fa2dfdd2b 539fa2dfdd2b 539fa2dfdd2b 6c94eb9e91ee 6c94eb9e91ee | {% extends "registrasion/base.html" %}
{% load lca2018_tags %}
{% block page_title %}Buy Your Ticket{% endblock %}
{% block page_lead %}Step {{ current_step }} of {{ total_steps|add:1 }} – {{ title }} {% endblock %}
{% block scripts_extra %}
{% for section in sections %}
{{ section.form.media.js }}
{% endfor %}
<script type="text/javascript">
postcode_label = $("label[for='id_profile-state']");
postcode_help = $("#id_profile-state + p");
$('#id_profile-country').change(function () {
if ($(this).val() == 'AU' ) {
postcode_label.addClass('label-required');
postcode_help.show();
} else {
postcode_label.removeClass('label-required');
postcode_help.hide();
} });
$("#id_profile-country").change();
</script>
{% endblock %}
{% block proposals_body %}
<form class="form-horizontal" method="POST" action="" enctype="multipart/form-data">
{% csrf_token %}
{% for section in sections %}
<h2>{{ section.title }}</h2>
{% if section.description %}
<blockquote>{{ section.description|safe }}</blockquote>
{% endif %}
<fieldset>
{% if section.discounts %}
{% include "registrasion/discount_list.html" with discounts=section.discounts %}
{% endif %}
{% include "_form_snippet.html" with form=section.form %}
<br />
</fieldset>
{% endfor %}
{% if current_step > 1 %}
<a class="btn btn-secondary" role="button" href="{{ previous_step }}">Back</a>
{% endif %}
<input class="btn btn-primary" type="submit" value="Next Step" />
</form>
{% endblock %}
|