Commit 7b617788 authored by RJC's avatar RJC

added and formatted authors.html in templates

parent 04a53696
{% extends 'base.html' %}
{% block title %}My Favorite Authors{% endblock %}
{% block header %}RJ's Favorite Authors{% endblock %}
{% block content %}
{% for authors in authors %}
<a href="http://127.0.0.1:8000/books/{{ authors.pk }}">{{ authors.first_name }} {{ authors.last_name }}</a><br>
{% endfor %}
<br>
<a href="http://127.0.0.1:8000/homepage/">Home</a>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="http://127.0.0.1:8000/books/">Books</a>
{% endblock %}
\ No newline at end of file
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