Formatted add/edit pages via bootstrap styling

parent 0bc06400
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
{% load static %} {% load static %}
{% block title %}Add New Author{% endblock %} {% block title %}Add New Author{% endblock %}
{% block content %} {% block content %}
<div class="text-center">
<br>
<br> <br>
<form method="post"> <form method="post">
{% csrf_token %} {% csrf_token %}
...@@ -10,4 +12,5 @@ ...@@ -10,4 +12,5 @@
{% endfor %} {% endfor %}
<input type="submit" value="Add Author"> <input type="submit" value="Add Author">
</form> </form>
</div>
{% endblock %} {% endblock %}
\ No newline at end of file
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
{% load static %} {% load static %}
{% block title %}Add New Book{% endblock %} {% block title %}Add New Book{% endblock %}
{% block content %} {% block content %}
<div class="text-center">
<br>
<br> <br>
<form method="post"> <form method="post">
{% csrf_token %} {% csrf_token %}
...@@ -10,4 +12,5 @@ ...@@ -10,4 +12,5 @@
{% endfor %} {% endfor %}
<input type="submit" value="Add Book"> <input type="submit" value="Add Book">
</form> </form>
</div>
{% endblock %} {% endblock %}
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
{% load static %} {% load static %}
{% block title %}Edit Author{% endblock %} {% block title %}Edit Author{% endblock %}
{% block content %} {% block content %}
<div class="text-center">
<br>
<br> <br>
<form method="post"> <form method="post">
{% csrf_token %} {% csrf_token %}
...@@ -10,4 +12,5 @@ ...@@ -10,4 +12,5 @@
{% endfor %} {% endfor %}
<input type="submit" value="Save Changes"> <input type="submit" value="Save Changes">
</form> </form>
</div>
{% endblock %} {% endblock %}
\ No newline at end of file
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
{% load static %} {% load static %}
{% block title %}Edit Book{% endblock %} {% block title %}Edit Book{% endblock %}
{% block content %} {% block content %}
<div class="text-center">
<br>
<br> <br>
<form method="post"> <form method="post">
{% csrf_token %} {% csrf_token %}
...@@ -10,4 +12,5 @@ ...@@ -10,4 +12,5 @@
{% endfor %} {% endfor %}
<input type="submit" value="Save Changes"> <input type="submit" value="Save Changes">
</form> </form>
</div>
{% endblock %} {% endblock %}
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