Private
Public Access
1
0

first version of session create page

This commit is contained in:
Sander Roosendaal
2018-02-05 20:43:54 +01:00
parent 7a51a51df4
commit cdf18058b9
7 changed files with 93 additions and 11 deletions

View File

@@ -0,0 +1,35 @@
{% extends "base.html" %}
{% load staticfiles %}
{% block title %}New Planned Session{% endblock %}
{% block content %}
<div class="grid_12 alpha">
{% include "planningbuttons.html" %}
<h1>Create a new Planned Session</h1>
</div>
<div id="left" class="grid_6 alpha">
<form enctype="multipart/form-data" action="{{ formloc }}" method="post">
{% 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 class="button green" type="submit" value="Submit">
</div>
</div>
<div id="right" class="grid_6 omega">
<p>Not yet defined</p>
</div>
</form>
{% endblock %}