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.html11
1 files changed, 11 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..2c8dbb0
--- /dev/null
+++ b/static/website/templates/ajax-books.html
@@ -0,0 +1,11 @@
+
+ <label>Book: </label>
+ <select id="books">
+ <option value="">Select Book </option>
+ {% for book in books %} {% if book_id == book.id %}
+ <option value="{{ book.id }}" selected>{{ book.book }} (by {{ book.author }})</option>
+ {% else %}
+ <option value="{{ book.id }}">{{ book.book }} (by {{ book.author }})</option>
+ {% endif %} {% endfor %}
+ </select>
+<a href="#" class="extra-link" id="download-book">Download Book</a>