fixed formating by placing signifiers of the given data

parent b7419331
{% extends 'base.html' %} {% extends 'base.html' %}
{% load static %} {% load static %}
{% block title %} {{ object.title }} {% endblock %} {% block title %} {{ object.title }} {% endblock %}
{% block content %} {% block content %}
<h1> {{ object.title }} </h1> <h1> {{ object.title }} </h1>
<a href = '{{ object.author.get_absolute_url }}'>{{ object.author }}</a> Author: <a href = '{{ object.author.get_absolute_url }}'>{{ object.author }}</a>
<p>{{ object.publisher }}</p> <p>Publisher: {{ object.publisher }}</p>
<p>{{ object.year_published }}</p> <p>Year Published: {{ object.year_published }}</p>
<p>{{ object.ISBN }}</p> <p>ISBN: {{ object.ISBN }}</p>
<p>{{ object.blurb }}</p> <p>Blurb: {{ object.blurb }}</p>
<a href = '/bookshelf/home/'>Home</a> <a href = '/bookshelf/home/'>Home</a>
<a href = '/bookshelf/books/'>Books</a> <a href = '/bookshelf/books/'>Books</a>
......
{% extends 'base.html' %} {% extends 'base.html' %}
{% load static %}
{% block title %} My Favorite Books {% endblock %} {% block title %} My Favorite Books {% endblock %}
{% block content %} {% block content %}
...@@ -9,7 +10,7 @@ ...@@ -9,7 +10,7 @@
{% for object in object_list %} {% for object in object_list %}
<li> <li>
<a href="{{ object.get_absolute_url }}"> <a href="{{ object.get_absolute_url }}">
{{object.title}} {{ object.title }}
</a> </a>
</li> </li>
{% endfor %} {% 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