Private
Public Access
1
0

profile menu and export settings

This commit is contained in:
Sander Roosendaal
2018-10-10 15:54:32 +02:00
parent 401fc7c82a
commit 58cdc1edc2
8 changed files with 225 additions and 110 deletions

View File

@@ -1,31 +1,28 @@
{% extends "base.html" %}
{% extends "newbase.html" %}
{% block title %}Change Rower Export Settings{% endblock %}
{% block content %}
<div class="grid_12 alpha">
<div class="grid_6 suffix_6 alpha">
<p>
<h2>Export Settings</h2>
{% if form.errors %}
<p style="color: red;">
Please correct the error{{ form.errors|pluralize }} below.
</p>
{% endif %}
{% block main %}
<h1>Import and Export Settings for {{ rower.user.first_name }} {{ rower.user.last_name }}</h1>
{% if form.errors %}
<p style="color: red;">
Please correct the error{{ form.errors|pluralize }} below.
</p>
{% endif %}
<form enctype="multipart/form-data" action="" method="post">
<table>
{{ form.as_table }}
</table>
{% csrf_token %}
<div class="grid_2 prefix_2 suffix_2">
<input class="button green" type="submit" value="Save">
</form>
</p>
</div>
</div>
</div>
<form enctype="multipart/form-data" action="" method="post">
<table>
{{ form.as_table }}
</table>
{% csrf_token %}
<input class="button green" type="submit" value="Save">
</form>
{% endblock %}
{% block sidebar %}
{% include 'menu_profile.html' %}
{% endblock %}