fixed formating by placing signifiers of the given data

parent b7419331
{% extends 'base.html' %}
{% load static %}
{% block title %} {{ object.title }} {% endblock %}
{% block content %}
<h1> {{ object.title }} </h1>
<a href = '{{ object.author.get_absolute_url }}'>{{ object.author }}</a>
<p>{{ object.publisher }}</p>
<p>{{ object.year_published }}</p>
<p>{{ object.ISBN }}</p>
<p>{{ object.blurb }}</p>
Author: <a href = '{{ object.author.get_absolute_url }}'>{{ object.author }}</a>
<p>Publisher: {{ object.publisher }}</p>
<p>Year Published: {{ object.year_published }}</p>
<p>ISBN: {{ object.ISBN }}</p>
<p>Blurb: {{ object.blurb }}</p>
<a href = '/bookshelf/home/'>Home</a>
<a href = '/bookshelf/books/'>Books</a>
......
{% extends 'base.html' %}
{% load static %}
{% block title %} My Favorite Books {% endblock %}
{% block content %}
......@@ -9,7 +10,7 @@
{% for object in object_list %}
<li>
<a href="{{ object.get_absolute_url }}">
{{object.title}}
{{ object.title }}
</a>
</li>
{% endfor %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment