Commit bb23d8c7 authored by Ysabella Panghulan's avatar Ysabella Panghulan

added Edit Author button

parent 947c7f15
{%extends 'base.html'%}
{% block stylesheets %}
{% load static %}
<link rel="stylesheet" type="text/css" href="{% static 'stylesheets/author_details.css' %}">
{% load static %}
<link rel="stylesheet" type="text/css" href="{% static 'stylesheets/author_details.css' %}">
{% endblock %}
{% block title %}{{ object }}{% endblock %}
{% block header %}
<h2>{{ object }}</h2>
<h2>{{ object }}</h2>
{% endblock %}
{% block body %}
<div class="author-content">
<div class="author-content">
{% block content %}
<div class="author-tags">
<div class="author-tag">
......@@ -22,6 +22,7 @@
</div>
</div>
<p>{{ object.bio }}</p>
<a href="{{object.get_absolute_url}}edit" class="btn-primary">Edit Author</a>
<h3>Books by {{ object }} I love:</h3>
<div class="book-list">
<ol>
......@@ -38,5 +39,5 @@
<a href="/authors/" class="btn-primary">Authors</a>
</div>
{% endblock %}
</div>
</div>
{% 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