
{% block main %}
<div class="container">

  <h1 class="header">{{ stack.stack_name }}</h1>


  <p>Stack description:
{% for stack in stacks %}

  <a href="{{url_for('show_stack_by_id', id=stack.id)}}">{{ stack.stack_description }}</a>

{% 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>
<p><a href="{{url_for('show_stacks')}}">Go back to stacks</p>

</div>
{% endblock %}
