51 lines
1.8 KiB
HTML
51 lines
1.8 KiB
HTML
{% extends 'global.html'%}
|
|
{% load static %}
|
|
|
|
# {% block title %}Update place{% endblock %}
|
|
|
|
{% block maincontent %}
|
|
<form class="LP-Form" method="POST" enctype="multipart/form-data">
|
|
<fieldset class="LP-Form__Fieldset">
|
|
<legend class="LP-Form__Legend">Update place</legend>
|
|
{% 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">
|
|
<a href="{% url 'place_detail' pk=place.pk %}"
|
|
<button class="LP-Button LP-Button--cancel">Cancel</button>
|
|
</a>
|
|
<input type="submit" class="LP-Button" value="Submit"/>
|
|
</div>
|
|
</fieldset>
|
|
|
|
</form>
|
|
|
|
{% endblock maincontent %} |