summaryrefslogtreecommitdiff
path: root/static/website/templates/ajax-books.html
diff options
context:
space:
mode:
Diffstat (limited to 'static/website/templates/ajax-books.html')
-rw-r--r--static/website/templates/ajax-books.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/static/website/templates/ajax-books.html b/static/website/templates/ajax-books.html
new file mode 100644
index 0000000..a7eba3e
--- /dev/null
+++ b/static/website/templates/ajax-books.html
@@ -0,0 +1,9 @@
+{% if books %}
+<label>Book: </label>
+<select id="books">
+ <option value="">Select Book</option>
+{% for book in books %}
+ <option value="{{ book.id }}">{{ book.book }}</option>
+{% endfor %}
+</select>
+{% endif %}