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