cqtu/templates/contest/updateRef.html

24 lines
462 B
HTML

{% extends "base.html" %}
{% block content %}
<h2>Welcome!</h2>
<div class="row">
<div class="col-sm-12">
We have the User {{ user }}, create a ref for them or choose an existing ref!
<form method="post" action="{% url "contest:updateRef" user.id %}">
{% csrf_token %}
<table>
<tr>
<th>User</th><td>{{ user }}</td>
</tr>
{{ form.as_table }}
</table>
<input type="submit" value="Save">
</form>
</div>
</div>
{% endblock %}