Private
Public Access
1
0

crewnerd summary

This commit is contained in:
Sander Roosendaal
2018-10-08 22:00:42 +02:00
parent 5ba1e45a93
commit 4b52a90806
3 changed files with 47 additions and 20 deletions

View File

@@ -1,25 +1,25 @@
{% extends "base.html" %}
{% extends "newbase.html" %}
{% load staticfiles %}
{% block title %}CrewNerd Summary loading{% endblock %}
{% block content %}
<form enctype="multipart/form-data" action="{{ formloc }}" method="post">
<div id="left" class="grid_6 alpha">
<h1>Upload Workout Summary File (CrewNerd)</h1>
{% if form.errors %}
<p style="color: red;">
Please correct the error{{ form.errors|pluralize }} below.
</p>
{% endif %}
<table>
{{ form.as_table }}
</table>
{% csrf_token %}
<div id="formbutton" class="grid_1 prefix_4 suffix_1">
<input type="submit" value="Submit">
</div>
</div>
{% block main %}
<form enctype="multipart/form-data" action="{{ formloc }}" method="post">
<h1>Upload Workout Summary File (CrewNerd)</h1>
{% if form.errors %}
<p style="color: red;">
Please correct the error{{ form.errors|pluralize }} below.
</p>
{% endif %}
<table>
{{ form.as_table }}
</table>
{% csrf_token %}
<input type="submit" value="Submit">
</form>
{% endblock %}
{% block sidebar %}
{% include 'menu_workout.html' %}
{% endblock %}