{% extends "allocation/admin1.html" %}
{% load i18n admin_urls static admin_list %}
{% block breadcrumbs %}
    <div class="breadcrumbs">
    <a href="{% url 'allocation:admin1' %}">{% trans 'Home' %}</a>
    &rsaquo; <a href="{% url 'allocation:choice_list' %}">{% trans 'Choices' %}</a>
    &rsaquo; {{ choice.choice_name }}
    </div>
{% endblock %}
{% block content %}
{% if choice.institute.name == request.user.username %}
<form action="" method="post">{% csrf_token %}
    {{ form.as_p }}
    <input type="submit" value="Update" />
</form>
{% else %}
Unauthorised access
{% endif %}
{% endblock %}
