Commit d5da860a authored by Javi Ng's avatar Javi Ng

fixed form functionality

parent ff678980
......@@ -3,7 +3,7 @@
{% block title %} Add New Author {% endblock %}
{% block content %}
<form method="POST" action="details">
<form method="POST">
{% csrf_token %}
{{ form }}
......
......@@ -3,7 +3,7 @@
{% block title %} Add New Book {% endblock %}
{% block content %}
<form method="POST" action="details">
<form method="POST">
{% csrf_token %}
{{ form }}
......
......@@ -3,7 +3,7 @@
{% block title %} Edit Author {% endblock %}
{% block content %}
<form method="POST" action="details">
<form method="POST">
{% csrf_token %}
{{ form }}
......
......@@ -3,7 +3,7 @@
{% block title %} Edit Book {% endblock %}
{% block content %}
<form method="POST" action="details">
<form method="POST">
{% csrf_token %}
{{ form }}
......
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