Fix html/css stylings on new and updated pages

parent 5c4f5f85
......@@ -4,7 +4,7 @@
{% block title %}Add New Author{% endblock %}
{% block content %}
<form method="post">
<form class = "aligned_left_paragraph_small" method="post">
{% csrf_token %}
{{form.as_p}}
<input type ="submit" value="Add Author">
......
......@@ -4,7 +4,7 @@
{% block title %}Add New Book{% endblock %}
{% block content %}
<form method="post">
<form class = "aligned_left_paragraph_small" method="post">
{% csrf_token %}
{{form.as_p}}
<input type ="submit" value="Add Book">
......
......@@ -11,8 +11,9 @@
{{book.year_published}} <br />
{{book.isbn}} <br />
{{book.blurb}} <br />
<button onclick="window.location.href='../../../books/{{book.id}}/edit/';">Edit Book</button>
</p>
<button onclick="window.location.href='../../../books/{{book.id}}/edit/';">Edit Book</button>
<p class = "unaligned_paragraph">
<br />
<br />
......
......@@ -4,7 +4,7 @@
{% block title %}Add New Author{% endblock %}
{% block content %}
<form method="post">
<form class = "aligned_left_paragraph_small" method="post">
{% csrf_token %}
{{form.as_p}}
<input type ="submit" value="Save Changes">
......
......@@ -4,7 +4,7 @@
{% block title %}Add New Book{% endblock %}
{% block content %}
<form method="post">
<form class = "aligned_left_paragraph_small" method="post">
{% csrf_token %}
{{form.as_p}}
<input type ="submit" value="Save Changes">
......
......@@ -10,7 +10,7 @@
<br />
<br />
<a href = "../books/">Books</a>
<a href = "../authors/">Authors</a>
<a href = "../authors/">Authors</a> <br />
<a href = "../books/add">Add Book</a>
<a href = "../authors/add">Add Authors</a>
</p>
......
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