bornhack-website/shop/templates/ticket_detail.html

40 lines
958 B
HTML
Raw Normal View History

2016-05-30 22:58:11 +00:00
{% extends 'shop_base.html' %}
{% load bootstrap3 %}
{% load shop_tags %}
{% block shop_content %}
<div class="well">
<div class="row">
<div class="col-md-5" style="text-align: center;">
<h3>{{ ticket.product.name }}</h3>
2016-05-30 22:58:11 +00:00
<div style="margin:0px auto;width:250px;height:250px;background-image:url({{ ticket.get_qr_code_url }});"></div>
</div>
<div class="col-md-7">
<div class="pull-right">
<h2>{{ ticket.order.camp }}</h2>
<form method="POST" class="form">
{% csrf_token %}
{% bootstrap_field form.name %}
{% bootstrap_field form.email %}
<button class="btn btn-primary form-control" type="submit"><i class="glyphicon glyphicon-check"></i> Save</button>
</form>
<hr />
<div class="pull-right">
<a href="#" class="btn btn-default">Answer questionnaire</a>
</div>
</div>
</div>
</div>
</div>
{% endblock %}