Commit 9bd890db authored by Jose Gabriel L. Salas's avatar Jose Gabriel L. Salas

fixed formatting issues for som of the html files

parent 3843fa16
......@@ -2,7 +2,7 @@
{% load static %}
{% block title %}Add New Author{% endblock %}
{% block content %}
<form action = """ method = "post">
<form action = "" method = "post">
{% csrf_token %}
{{ form.as_p }}
<p><input type="submit" value ="Add Author"></p>
......
......@@ -2,7 +2,7 @@
{% load static %}
{% block title %}Add New Book{% endblock %}
{% block content %}
<form action="/" method="post">
<form action="" method="post">
{% csrf_token %}
{{ form.as_p }}
<p><input type="submit" value="Add Book"></p>
......
......@@ -6,7 +6,6 @@ urlpatterns = [
path('authors/', AuthorListView.as_view(), name='author-list'),
path('books/<int:pk>/details/', BooksDetailView.as_view(), name='books-detail'),
path('authors/<int:pk>/details/', AuthorDetailView.as_view(), name='authors-detail'),
# path('books/add/', AddBookView.as_view(), name = 'add-book'),
path('authors/add/', AuthorCreateView.as_view(), name = 'add-author'),
path('authors/<int:pk>/edit', AuthorUpdateView.as_view(), name = 'edit-author'),
path('books/add/', BookCreateView.as_view(), name = 'add-book'),
......
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