23 lines
		
	
	
		
			444 B
		
	
	
	
		
			HTML
		
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			444 B
		
	
	
	
		
			HTML
		
	
	
	
| {% extends "base.html" %}
 | |
| 
 | |
| {% block content %}
 | |
| <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 %}
 | |
| 
 |