xppl/app/templates/show_stack_detail.html

28 lines
590 B
HTML
Raw Normal View History

{% extends 'base.html' %}
2018-05-31 18:04:05 +02:00
{% block main %}
<div class="container">
<h1 class="header">{{ stack.stack_name }}</h1>
2018-06-05 12:22:09 +02:00
<p>{{ stack.stack_description }} </p>
2018-05-31 18:04:05 +02:00
<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>
2018-06-05 12:22:09 +02:00
<p>
<a href="{{ url_for('remove_stack_by_id', id=stack.id )}}">Delete</a> </p>
2018-06-05 18:26:25 +02:00
<a href="{{ url_for('edit_stack_by_id', id=stack.id )}}">Edit</a> </p>
2018-06-05 12:22:09 +02:00
2018-06-03 14:01:59 +02:00
<p><a href="{{url_for('show_stacks')}}">Go back to stacks</p>
2018-05-31 18:04:05 +02:00
</div>
{% endblock %}