Private
Public Access
1
0

untested - form to create new instant plan

This commit is contained in:
Sander Roosendaal
2021-03-11 08:36:04 +01:00
parent 4385bb5d1d
commit 64a1b14536
6 changed files with 108 additions and 6 deletions

View File

@@ -0,0 +1,32 @@
{% extends "newbase.html" %}
{% load staticfiles %}
{% load rowerfilters %}
{% block title %}Add Instant Plan{% endblock %}
{% block main %}
<h1>{{ plan.name }}</h1>
<ul class="main-content">
<li class="grid_4">
<form enctype="multipart/form-data" action="" 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 %}
<p><input class="button" type="submit" value="Save"></p>
</form>
</li>
</ul>
{% endblock %}
{% block sidebar %}
{% include 'menu_plan.html' %}
{% endblock %}