diff options
-rw-r--r-- | tbc/templates/tbc/edit-books-fill-details.html | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tbc/templates/tbc/edit-books-fill-details.html b/tbc/templates/tbc/edit-books-fill-details.html new file mode 100644 index 0000000..892ce16 --- /dev/null +++ b/tbc/templates/tbc/edit-books-fill-details.html @@ -0,0 +1,18 @@ +{% extends 'base.html' %} +{% load static %} +{% block script %} +<link href="http://code.jquery.com/ui/1.10.4/themes/ui-lightness/jquery-ui.css" rel="stylesheet"> +<script src="http://code.jquery.com/jquery-1.10.2.js"></script> +<script src="http://code.jquery.com/ui/1.10.4/jquery-ui.js"></script> + +{% endblock %} +{% block content %} +<div class="well"> + <center><a href="{% url 'tbc:books_fill_details' %}" class="btn btn-primary"> BACK </a></center> + <form action="{% url 'tbc:edit_books_fill_details' book.id %}" method="POST"> + {% csrf_token %} + {{ form.as_p }} + <center><input class="btn btn-primary" type="submit" value="SAVE"></center> + </form> +</div> +{% endblock %} |