2020-07-31 00:27:01 +02:00
|
|
|
{% extends 'global.html'%}
|
|
|
|
{% load static %}
|
|
|
|
|
2020-08-06 19:51:45 +02:00
|
|
|
# {% block title %}Update place{% endblock %}
|
2020-07-31 00:27:01 +02:00
|
|
|
|
|
|
|
{% 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-06 19:51:45 +02:00
|
|
|
<legend class="LP-Form__Legend">Update 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=form.name %}
|
|
|
|
</div>
|
|
|
|
<div class="LP-Form__Field">
|
|
|
|
{% include 'partials/form/inputField.html' with field=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=form.latitude %}
|
|
|
|
</div>
|
|
|
|
<div class="LP-Form__Field">
|
|
|
|
{% include 'partials/form/inputField.html' with field=form.longitude %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="LP-Form__Composition">
|
|
|
|
<div class="LP-Form__Field">
|
|
|
|
{% include 'partials/form/inputField.html' with field=form.description %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="LP-Form__Composition">
|
|
|
|
<div class="LP-Form__Field">
|
|
|
|
{% include 'partials/form/inputField.html' with field=form.filename %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="LP-Form__Composition">
|
2020-08-12 16:16:52 +02:00
|
|
|
<a href="{% url 'place_detail' pk=place.pk %}">
|
2020-08-12 12:44:14 +02:00
|
|
|
<button class="LP-Button LP-Button--cancel">Cancel</button>
|
|
|
|
</a>
|
2020-08-06 19:51:45 +02:00
|
|
|
<input type="submit" class="LP-Button" value="Submit"/>
|
2020-08-05 18:57:09 +02:00
|
|
|
</div>
|
|
|
|
</fieldset>
|
2020-07-31 00:27:01 +02:00
|
|
|
|
|
|
|
</form>
|
|
|
|
|
|
|
|
{% endblock maincontent %}
|