35 lines
727 B
HTML
35 lines
727 B
HTML
{% 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 %}
|
|
|
|
<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 %}</p>
|
|
|
|
|
|
|
|
</div>
|
|
{% endblock %}
|