Preliminary source objects.
[redakcja.git] / src / sources / templates / sources / prepare.html
1 {% extends "documents/base.html" %}
2
3 {% block content %}
4   <h1>{{ book_source.book }} z: {{ book_source.source }}</h1>
5
6   {% with doc=book_source.get_document %}
7     {% if doc %}
8       Tekst:
9       <a href="{{ doc.get_absolute_url }}">
10         {{ doc }}
11       </a>
12       </a>
13     {% endif %}
14   {% endwith %}
15
16   <form method="post">
17     {% csrf_token %}
18     <button class="btn btn-primary">Utwórz tekst</button>
19   </form>
20
21 {% endblock %}