{% extends "base.html" %}

{% block title %}Dodaj obraz{% endblock %}

{% block content %}
  <h1>Dodaj obraz</h1>
  <img src="{{ request.GET.url }}" class="image-preview">
  <form method="post">
    {{ form.as_p }}
    {% csrf_token %}
    <input type="submit" value="Zaznacz!">
  </form>
{% endblock %}
