reverend
547179b0ca
commit 97b044cafb7f17f23b3b1beedcf70af209a60ddc Author: reverend <reverend@reverend2048.de> Date: Mon Sep 14 17:25:40 2020 +0200 Updating gitignore commit 4891d80486e1f95db8ae66385c7c97426a3ca1a4 Author: reverend <reverend@reverend2048.de> Date: Mon Sep 14 17:25:20 2020 +0200 Updating Readme commit f05c43abbdc7eb30896ad6d10fe80fd6483338d9 Author: reverend <reverend@reverend2048.de> Date: Mon Sep 14 17:23:30 2020 +0200 Renaming Module commit fd5ad2ee9f8cbacd565da45b257928192ffc651c Author: reverend <reverend@reverend2048.de> Date: Mon Sep 14 17:23:16 2020 +0200 Renaming module references commit 828a0dd5dd73723b84b77908497903ed26b6966b Author: reverend <reverend@reverend2048.de> Date: Mon Sep 14 17:21:20 2020 +0200 Renaming Project
41 lines
1.6 KiB
HTML
41 lines
1.6 KiB
HTML
{% extends 'global.html'%}
|
|
|
|
{% block title %}Submit a photo album{% endblock %}
|
|
|
|
{% 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">Edit place</span></a></li>
|
|
<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">Delete place</span></a></li>
|
|
{% endblock additional_menu_items %}
|
|
|
|
{% block maincontent %}
|
|
<form class="LP-Form" method="POST">
|
|
<fieldset class="LP-Form__Fieldset">
|
|
<legend class="LP-Form__Legend">Submit a photo album for {{place.name}}</legend>
|
|
{% 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">
|
|
<div class="LP-Form__Field LP-Form__Button LP-Input">
|
|
<button class="LP-Button">Submit</button>
|
|
</div>
|
|
<div class="LP-Form__Field LP-Form__Button LP-Input">
|
|
<a class="LP-Link" href="{% url 'place_detail' pk=place.id%}">
|
|
<button type="button" class="LP-Button LP-Button--cancel">Cancel</button>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</fieldset>
|
|
</form>
|
|
{% endblock maincontent %} |