lostplaces-backend/django_lostplaces/lostplaces/templates/photo_album/photo_album_create.html

35 lines
1.4 KiB
HTML
Raw Normal View History

2020-08-26 21:36:10 +02:00
{% extends 'global.html'%}
2020-10-11 02:23:51 +02:00
{% load i18n %}
2020-08-26 21:36:10 +02:00
{% block title %}{% trans 'Submit a photo album' %}{% endblock %}
2020-08-26 21:36:10 +02:00
{% block additional_menu_items %}
<li class="LP-Menu__Item LP-Menu__Item--additional"><a href="{% url 'place_edit' pk=place.pk %}" class="LP-Link"><span
class="LP-Link__Text">{% trans 'Edit place' %}</span></a></li>
2020-08-26 21:36:10 +02:00
<li class="LP-Menu__Item LP-Menu__Item--additional"><a href="{% url 'place_delete' pk=place.pk %}" class="LP-Link"><span
class="LP-Link__Text">{% trans 'Delete place' %}</span></a></li>
2020-08-26 21:36:10 +02:00
{% endblock additional_menu_items %}
{% block maincontent %}
<form class="LP-Form" method="POST">
<fieldset class="LP-Form__Fieldset">
2020-10-11 02:23:51 +02:00
<legend class="LP-Form__Legend">{% trans 'Submit a photo album for' %} {{place.name}}</legend>
2020-08-26 21:36:10 +02:00
{% csrf_token %}
<div class="LP-Form__Composition">
<div class="LP-Form__Field">
{% include 'partials/form/inputField.html' with field=form.url %}
</div>
</div>
<div class="LP-Form__Composition">
<div class="LP-Form__Field">
{% include 'partials/form/inputField.html' with field=form.label %}
</div>
</div>
<div class="LP-Form__Composition LP-Form__Composition--buttons">
{% include 'partials/form/submit.html' with referrer=request.META.HTTP_REFERER %}
2020-08-26 21:36:10 +02:00
</div>
</fieldset>
</form>
{% endblock maincontent %}