20 lines
805 B
HTML
20 lines
805 B
HTML
{% extends '../base.html' %}
|
|
|
|
{% load bootstrap4 %}
|
|
|
|
{% block breadcrumbs %}
|
|
<li class="breadcrumb-item"><a href="{% url 'index' %}">Galeria Zdjęć</a></li>
|
|
<li class="breadcrumb-item"><a href="{% url 'album' photo.album.id %}">Album: {{ album.title }}</a></li>
|
|
<li class="breadcrumb-item"><a href="{% url 'photo' photo.album.id photo.id %}">Zdjęcie: {{ photo.title }}</a></li>
|
|
<li class="breadcrumb-item">Zaktualizuj</li>
|
|
{% endblock breadcrumbs %}
|
|
|
|
{% block content %}
|
|
<form method="post" action="{% url 'edit_photo' photo.album.id photo.id %}" enctype="multipart/form-data">
|
|
{% csrf_token %}
|
|
{% bootstrap_form form %}
|
|
|
|
<input type="submit" value="zaktualizuj">
|
|
<input type="hidden" name="next" value="{{ next }}">
|
|
</form>
|
|
{% endblock content %} |