Files
@ 3ffa5fab60de
Branch filter:
Location: symposion_app/pinaxcon/templates/registrasion/profile_form.html - annotation
3ffa5fab60de
1.3 KiB
text/html
Don't require login to view qrcode
* The qrcode contains no information that isn't in the URL you used to
access the code, so information is being leaked
* Allowing unauthenicated access lets people see the image in their
mail client
Not ideal. Let's revert this later and think of something better next
year - perhaps spending some more time researching best practices on
images in email..
* The qrcode contains no information that isn't in the URL you used to
access the code, so information is being leaked
* Allowing unauthenicated access lets people see the image in their
mail client
Not ideal. Let's revert this later and think of something better next
year - perhaps spending some more time researching best practices on
images in email..
6c94eb9e91ee 5409d4974aed 6c94eb9e91ee a3474fd9cd4c a3474fd9cd4c a3474fd9cd4c a3474fd9cd4c a3474fd9cd4c 6c94eb9e91ee a3474fd9cd4c 348e1c5c820c 348e1c5c820c 348e1c5c820c 348e1c5c820c 348e1c5c820c 348e1c5c820c 348e1c5c820c 348e1c5c820c 348e1c5c820c 348e1c5c820c 348e1c5c820c 348e1c5c820c 348e1c5c820c 348e1c5c820c 348e1c5c820c a3474fd9cd4c 6c94eb9e91ee a3474fd9cd4c 1886323d7431 6c94eb9e91ee 6c94eb9e91ee a3474fd9cd4c 1886323d7431 1886323d7431 1886323d7431 3c6c98021d1b 3c6c98021d1b 3c6c98021d1b 3c6c98021d1b 1886323d7431 a3474fd9cd4c 6c94eb9e91ee 6c94eb9e91ee | {% extends "registrasion/base.html" %}
{% load lca2018_tags %}
{% block header_title %}Your profile{% endblock %}
{% block header_paragraph %}
These details will appear on your badge, your invoices, and will be used
to order catered food at the conference.
{% 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 content %}
<form class="form-horizontal" method="post" action="">
{% csrf_token %}
<fieldset>
{% include "_form_snippet.html" with form=form %}
<br />
<div class="btn-group">
<input class="btn btn-success" type="submit" value="Save Profile" />
{% if user.attendee %}
<a class="btn btn-info" href="{% url "dashboard" %}">Cancel</a>
{% endif %}
</div>
</fieldset>
</form>
{% endblock %}
|