You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
{% block main %}
|
|
|
|
<div class="container">
|
|
|
|
|
|
|
|
<h1 class="header">
|
|
|
|
<a href="{{url_for('show_stack_by_id', id=stack.id)}}">
|
|
|
|
|
|
|
|
{{ stack.stack_name }} </a>
|
|
|
|
</h1>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<p>{{ stack.stack_description }} </p>
|
|
|
|
<p id='creator'>Created by:
|
|
|
|
{% if stack.stack_author == None %} anon</p>
|
|
|
|
{% else %}
|
|
|
|
|
|
|
|
{{ stack.stack_author }}
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
<p style='font-weight:bold;'>Books in this stack: {% for book in stack.books %} </p>
|
|
|
|
<li style="font-size: 18px;"> <a href="{{url_for('show_book_by_id', id=book.id)}}">{{book.title}}</a> </li>
|
|
|
|
|
|
|
|
<p style="font-size: 10px;"><a href='{{url_for('add_to_stack', id=book.id)}}'> Add to another stack </a></p>
|
|
|
|
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|