Fix html/css stylings on new and updated pages

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