Skip to content
Snippets Groups Projects
Verified Commit 1ced057b authored by TheJoeCoder's avatar TheJoeCoder
Browse files

Start view book page

parent 42049916
Branches
No related tags found
No related merge requests found
......@@ -3,7 +3,25 @@
{% block title %}{{ book.title }}{% endblock %}
{% block content %}
<h1 class="title">{{ book.title }}</h1>
<div class="columns">
{% if book.image %}
<div class="column is-one-quarter">
<figure class="image">
<img src="{{ book.image.url }}" alt="{{ book.title }}">
</figure>
</div>
{% endif %}
<div class="column">
<h1 class="title">
{{ book.title }}
{% if book.public %}
<i class="bi bi-globe"></i>
{% else %}
<i class="bi bi-lock"></i>
{% endif %}
</h1>
<br>
</div>
</div>
{% endblock %}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment