finished add-book.html

parent d7f59963
{% extends 'base.html' %}
{% block title %}Add New Author{% endblock %}
{% block text %}
<form method="post">
{% csrf_token %}
{{ form.as_p }}
<input type="submit" value="Save">
</form>
{% endblock %}
{%block hyperlinks%}
<ul>
{% for object in object_list %}
<li><a href="{{object.get_absolute_url}}">{{object.title}}</a></li>
{% endfor %}
<br></br>
<a href="/home">Home</a>
<a href="/authors">Authors</a>
</ul>
{%endblock%}
\ No newline at end of file
......@@ -13,10 +13,6 @@
</form>
{% endblock %}
{% block content %}
hi
{% endblock %}
{%block hyperlinks%}
<ul>
{% for object in object_list %}
......
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