Commit 013f157f authored by Colleen's avatar Colleen

Modified minor mistakes in templates

parent b01f17f2
...@@ -18,6 +18,6 @@ ...@@ -18,6 +18,6 @@
Age: <input type="text" name="publisher"/><br> Age: <input type="text" name="publisher"/><br>
Nationality: <input type="text" name="year_published"/><br> Nationality: <input type="text" name="year_published"/><br>
Bio: <input type="text" name="ISBN"/><p> Bio: <input type="text" name="ISBN"/><p>
<input type="submit" value="Add Book"/> <input type="submit" value="Add Author"/>
</form> </form>
{% endblock %} {% endblock %}
\ No newline at end of file
...@@ -4,6 +4,12 @@ ...@@ -4,6 +4,12 @@
<h2>{{object.age}}</h2> <h2>{{object.age}}</h2>
<h2>{{object.nationality}}</h2> <h2>{{object.nationality}}</h2>
<h2>{{object.bio}}</h2> <h2>{{object.bio}}</h2>
<ul>
<li>
<a href="/bookshelf/books/add"> Edit Author
</a>
</li>
</ul>
<ul> <ul>
<li> <li>
<a href="/bookshelf"> home <a href="/bookshelf"> home
......
...@@ -6,6 +6,12 @@ ...@@ -6,6 +6,12 @@
<h2>{{object.year_published}}</h2> <h2>{{object.year_published}}</h2>
<h2>{{object.ISBN}}</h2> <h2>{{object.ISBN}}</h2>
<h2>{{object.blurb}}</h2> <h2>{{object.blurb}}</h2>
<ul>
<li>
<a href="/bookshelf/books/add"> Edit Book
</a>
</li>
</ul>
<ul> <ul>
<li> <li>
<a href="/bookshelf"> home <a href="/bookshelf"> home
......
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