provide ways to add benchcoach object to teamsnap object.
This commit is contained in:
29
teamsnap/templates/teamsnap/event-table.html
Normal file
29
teamsnap/templates/teamsnap/event-table.html
Normal file
@@ -0,0 +1,29 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Title</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
{{ formset.management_form }}
|
||||
<table>
|
||||
<tr>
|
||||
{% for _, field in formset.0.base_fields.items %}
|
||||
<th>{{ field.label }}</th>
|
||||
{% endfor %}
|
||||
</tr>
|
||||
|
||||
{% for form in formset %}
|
||||
<tr>
|
||||
{% for field in form %}
|
||||
|
||||
<td>{{ field }}</td>
|
||||
|
||||
{% endfor %}
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
10
teamsnap/templates/teamsnap/home.html
Normal file
10
teamsnap/templates/teamsnap/home.html
Normal file
@@ -0,0 +1,10 @@
|
||||
{% extends "base.html" %}
|
||||
{% block title %} {{ title }}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<h1>Currently Logged in as</h1>
|
||||
<p><b>BenchCoach: </b>{{ user }} ({{ user.email }})</p>
|
||||
<p><b>TeamSnap: </b>{{ teamsnap_user.email }}</p>
|
||||
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user