Created the templates for the pages which allow users to edit an existing book...

Created the templates for the pages which allow users to edit an existing book and author in the database
parent 23bd7ea2
{% extends 'base.html' %}
{% load static %}
{% block title %}Edit Author{% endblock %}
{% block content %}
<form method="post">
{% csrf_token %}
{{form.as_p}}
<input type ="submit" value="Save Changes">
</form>
{% endblock %}
{% extends 'base.html' %}
{% load static %}
{% block title %}Edit Book{% endblock %}
{% block content %}
<form method="post">
{% csrf_token %}
{{form.as_p}}
<input type ="submit" value="Save Changes">
</form>
{% 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