2016-03-30 04:13:50 +00:00
|
|
|
{% extends "registrasion/base.html" %}
|
2017-09-27 13:46:13 +00:00
|
|
|
{% load lca2018_tags %}
|
2016-03-30 04:13:50 +00:00
|
|
|
|
2016-09-30 10:46:05 +00:00
|
|
|
{% block header_title %}Buy Your Ticket{% endblock %}
|
|
|
|
{% block header_paragraph %}Step {{ current_step }} of {{ total_steps|add:1 }} – {{ title }} {% endblock %}
|
2016-03-30 04:13:50 +00:00
|
|
|
|
2016-09-30 10:46:05 +00:00
|
|
|
{% block scripts_extra %}
|
|
|
|
{% for section in sections %}
|
|
|
|
{{ section.form.media.js }}
|
|
|
|
{% endfor %}
|
|
|
|
{% endblock %}
|
2016-03-30 04:13:50 +00:00
|
|
|
|
2016-09-30 10:46:05 +00:00
|
|
|
{% block content %}
|
2016-03-30 04:13:50 +00:00
|
|
|
|
2017-04-16 06:01:57 +00:00
|
|
|
<form class="form-horizontal" method="post" action="">
|
2016-03-30 04:13:50 +00:00
|
|
|
{% csrf_token %}
|
|
|
|
|
|
|
|
{% for section in sections %}
|
2016-09-30 10:46:05 +00:00
|
|
|
<h2>{{ section.title }}</h2>
|
2016-03-30 04:13:50 +00:00
|
|
|
|
|
|
|
{% if section.description %}
|
2016-10-05 17:25:44 +00:00
|
|
|
<blockquote>{{ section.description|safe }}</blockquote>
|
2016-03-30 04:13:50 +00:00
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
<fieldset>
|
2016-09-30 10:46:05 +00:00
|
|
|
|
|
|
|
{% if section.discounts %}
|
|
|
|
{% include "registrasion/discount_list.html" with discounts=section.discounts %}
|
|
|
|
|
|
|
|
<blockquote><small>
|
|
|
|
You must select a product to receive any discounts.<br/>
|
|
|
|
Applicable discounts will be applied automatically when you check out.
|
|
|
|
</small></blockquote>
|
|
|
|
|
|
|
|
<hr />
|
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
<h3>Available options</h3>
|
|
|
|
|
|
|
|
{% include "_form_snippet.html" with form=section.form %}
|
2016-03-30 04:13:50 +00:00
|
|
|
</fieldset>
|
2016-09-30 10:46:05 +00:00
|
|
|
|
|
|
|
<br />
|
2016-03-30 04:13:50 +00:00
|
|
|
{% endfor %}
|
|
|
|
|
2016-09-30 10:46:05 +00:00
|
|
|
<div class="btn-group">
|
2017-09-30 08:15:28 +00:00
|
|
|
{% if current_step > 1 %}
|
|
|
|
<a class="btn btn-primary" role="button" href="{{ previous_step }}">Back</a>
|
|
|
|
{% endif %}
|
|
|
|
<input class="btn btn-success" type="submit" value="Next Step" />
|
2016-03-30 04:13:50 +00:00
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
|
|
|
|
|
|
|
|
{% endblock %}
|