|
|
@ -5,11 +5,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
<h1 class="header">{{ stack.stack_name }}</h1>
|
|
|
|
<h1 class="header">{{ stack.stack_name }}</h1>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<p>{{ stack.stack_description }} </p>
|
|
|
|
<p>{{ stack.stack_description }} </p>
|
|
|
|
<p>Books in this stack: {% for book in stack.books %}
|
|
|
|
<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>
|
|
|
|
<li> <a href="{{url_for('show_book_by_id', id=book.id)}}">{{book.title}}</a> </li>
|
|
|
|
|
|
|
|
<img class="no_cover" id="{{ book.title }}" src="../uploads/cover/{{ book.cover }}" width="150" onerror="if (this.src != '../static/img/{{ book.cover }}') this.src = '../static/img/default_cover.png';">
|
|
|
|
|
|
|
|
|
|
|
|
{% endfor %}</p>
|
|
|
|
{% endfor %}</p>
|
|
|
|
|
|
|
|
|
|
|
|