Private
Public Access
1
0

addmanual

This commit is contained in:
Sander Roosendaal
2018-10-03 18:29:14 +02:00
parent f0b20517ec
commit b2c7f2ab30
2 changed files with 27 additions and 26 deletions

View File

@@ -1,4 +1,4 @@
{% extends "base.html" %}
{% extends "newbase.html" %}
{% load staticfiles %}
{% load rowerfilters %}
{% load tz %}
@@ -35,33 +35,33 @@ $('#id_workouttype').change();
</script>
{% endblock %}
{% block content %}
<div class="grid_12 alpha">
<h1>Add Workout Manually</h1>
<div class="grid_6 alpha">
{% if form.errors %}
<p style="color: red;">
Please correct the error{{ form.errors|pluralize }} below.
{% block main %}
<h1>Add Workout Manually</h1>
<ul class="main-content">
<li class="grid_2">
{% if form.errors %}
<p style="color: red;">
Please correct the error{{ form.errors|pluralize }} below.
</p>
{% endif %}
<form id="importantform"
enctype="multipart/form-data" action="" method="post">
<table width=100%>
{{ form.as_table }}
</table>
{% csrf_token %}
<p>
<input class="button green" type="submit" value="Save">
</p>
{% endif %}
<form id="importantform"
enctype="multipart/form-data" action="" method="post">
<table width=100%>
{{ form.as_table }}
</table>
{% csrf_token %}
<div id="formbutton" class="grid_1 suffix_1 omega">
<input class="button green" type="submit" value="Save">
</div>
</form>
</div>
</form>
</li>
</ul>
<div id="images" class="grid_6 omega">
<p>&nbsp;</p>
</div>
</div>
{% endblock %}
{% block sidebar %}
{% include 'menu_workouts.html' %}
{% endblock %}