xppl/app/templates/show_stack_detail.html

29 lines
437 B
HTML
Raw Normal View History

2018-05-31 18:04:05 +02:00
{% extends 'base.html' %}
{% block main %}
<div class="container">
<h1 class="header">{{ stack.stack_name }}</h1>
<p>Stack description:
{% for stack in stacks %}
{{stack.stack_description}}
{% endfor %}
</p>
<p>Books in this stack: {% for book in stack.books %}
<li> <a href="{{url_for('show_book_by_id', id=book.id)}}">{{book.title}}</a> </li>
{% endfor %}</p>
<br>
<br>
</div>
{% endblock %}