2020-07-29 20:22:04 +02:00
|
|
|
{% extends 'global.html'%}
|
|
|
|
{% load static %}
|
|
|
|
|
|
|
|
# {% block title %}Place erstellen{% endblock %}
|
|
|
|
|
|
|
|
{% block maincontent %}
|
2020-08-03 19:14:13 +02:00
|
|
|
<form class="LP-Form" method="POST" enctype="multipart/form-data">
|
2020-08-05 18:57:09 +02:00
|
|
|
<fieldset class="LP-Form__Fieldset">
|
2020-08-12 18:16:32 +02:00
|
|
|
<legend class="LP-Form__Legend">Create Place</legend>
|
2020-08-05 18:57:09 +02:00
|
|
|
{% csrf_token %}
|
|
|
|
<div class="LP-Form__Composition LP-Form__Composition--breakable">
|
|
|
|
<div class="LP-Form__Field">
|
|
|
|
{% include 'partials/form/inputField.html' with field=place_form.name %}
|
|
|
|
</div>
|
|
|
|
<div class="LP-Form__Field">
|
|
|
|
{% include 'partials/form/inputField.html' with field=place_form.location %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="LP-Form__Composition LP-Form__Composition--breakable">
|
|
|
|
<div class="LP-Form__Field">
|
|
|
|
{% include 'partials/form/inputField.html' with field=place_form.latitude %}
|
|
|
|
</div>
|
|
|
|
<div class="LP-Form__Field">
|
|
|
|
{% include 'partials/form/inputField.html' with field=place_form.longitude %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="LP-Form__Composition">
|
|
|
|
<div class="LP-Form__Field">
|
|
|
|
{% include 'partials/form/inputField.html' with field=place_form.description %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="LP-Form__Composition">
|
|
|
|
<div class="LP-Form__Field">
|
|
|
|
{% include 'partials/form/inputField.html' with field=place_image_form.filename %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2020-08-12 18:27:44 +02:00
|
|
|
<div class="LP-Form__Composition LP-Form__Composition--buttons">
|
|
|
|
<div class="LP-Form__Field LP-Form__Button LP-Input">
|
|
|
|
<button class="LP-Button">Create</button>
|
|
|
|
</div>
|
|
|
|
<div class="LP-Form__Field LP-Form__Button LP-Input">
|
|
|
|
<a class="LP-Link" href="{% url 'place_list' %}">
|
|
|
|
<button type="button" class="LP-Button LP-Button--cancel">Cancel</button>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-08-05 18:57:09 +02:00
|
|
|
</fieldset>
|
2020-07-29 20:22:04 +02:00
|
|
|
|
|
|
|
</form>
|
|
|
|
|
|
|
|
{% endblock maincontent %}
|