JS-P04/app/templates/album/add_photo.html
Kacper Donat 3a649df550 Whole app
2020-06-08 22:46:01 +02:00

19 lines
659 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' album.id %}">Album: {{ album.title }}</a></li>
<li class="breadcrumb-item">Dodaj zdjęcie</li>
{% endblock breadcrumbs %}
{% block content %}
<form method="post" action="{% url 'add_photo' album.id %}" enctype="multipart/form-data">
{% csrf_token %}
{% bootstrap_form form %}
<input type="submit" value="dodaj">
<input type="hidden" name="next" value="{{ next }}">
</form>
{% endblock content %}