2018-06-03 23:33:16 +02:00
|
|
|
{% block main %}
|
|
|
|
<div class="container">
|
|
|
|
|
2018-06-05 18:26:25 +02:00
|
|
|
<h1 class="header">
|
|
|
|
<a href="{{url_for('show_stack_by_id', id=stack.id)}}">
|
|
|
|
|
|
|
|
{{ stack.stack_name }} </a>
|
|
|
|
</h1>
|
|
|
|
|
2018-06-03 23:33:16 +02:00
|
|
|
|
|
|
|
|
|
|
|
<p>Stack description: {{ stack.stack_description }} </p>
|
|
|
|
|
|
|
|
<p>Books in this stack: {% for book in stack.books %}
|
|
|
|
|
2018-06-06 14:32:18 +02:00
|
|
|
<li style="font-size: 18px;"> <a href="{{url_for('show_book_by_id', id=book.id)}}">{{book.title}}</a> </li>
|
2018-06-03 23:33:16 +02:00
|
|
|
|
2018-06-06 14:32:18 +02:00
|
|
|
<p style="font-size: 10px;"><a href='{{url_for('add_to_stack', id=book.id)}}'>
|
|
|
|
|
|
|
|
Add to another stack
|
|
|
|
</a></p>
|
2018-06-03 23:33:16 +02:00
|
|
|
{% endfor %}</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|