Files
@ 34509d23eb9f
Branch filter:
Location: symposion_app/pinaxcon/templates/registrasion/profile_form.html - annotation
34509d23eb9f
1.2 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 d4b0b52253ae d4b0b52253ae 6c94eb9e91ee a3474fd9cd4c 348e1c5c820c 348e1c5c820c 348e1c5c820c 348e1c5c820c 348e1c5c820c 348e1c5c820c 348e1c5c820c 348e1c5c820c 348e1c5c820c 348e1c5c820c 348e1c5c820c 348e1c5c820c 348e1c5c820c 348e1c5c820c 348e1c5c820c a3474fd9cd4c 6c94eb9e91ee c42f2686cf42 c42f2686cf42 c42f2686cf42 1886323d7431 6c94eb9e91ee a3474fd9cd4c 1886323d7431 1886323d7431 c42f2686cf42 c42f2686cf42 c42f2686cf42 c42f2686cf42 a3474fd9cd4c 6c94eb9e91ee 6c94eb9e91ee | {% extends "registrasion/base.html" %}
{% load lca2018_tags %}
{% block head_title %}Your Profile{% endblock %}
{% block page_title %}Your Profile{% endblock %}
{% block scripts_extra %}
{{ form.media.js }}
<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 %}
<p>These details will appear on your badge, your invoices, and will be used to order catered food at the conference.</p>
<form class="form-horizontal" method="post" action="">
{% csrf_token %}
<fieldset>
{% include "_form_snippet.html" with form=form %}
<br />
<input class="btn btn-primary" type="submit" value="Save Profile" />
{% if user.attendee %}
<a class="btn btn-light" href="{% url "dashboard" %}">Cancel</a>
{% endif %}
</fieldset>
</form>
{% endblock %}
|