Added Modelform for place creation. Shabbily templated / not designed.

This commit is contained in:
2020-07-29 20:22:04 +02:00
parent ec308a7428
commit 2efb198f72
6 changed files with 64 additions and 6 deletions

View File

@@ -0,0 +1,15 @@
{% extends 'global.html'%}
{% load static %}
# {% block title %}Place erstellen{% endblock %}
{% block maincontent %}
<h2>Place erstellen</h2>
<form method="post">
{% csrf_token %}
{{ form.as_p }}
<button type="submit">Abschicken</button>
</form>
{% endblock maincontent %}