Modified format of the form

parent 8cbbe2ce
......@@ -5,8 +5,11 @@
{% block content %}
<form method="POST" action="{% url 'bookshelf:add_author' %}" enctype="multipart/form-data">
{% csrf_token %}
{{ form.as_p }}
<table>
{{ form.as_table }}
</table>
<br>
<br>
<button class="button" type="Add Author">Add Author</button>
</form>
{% 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