diff options
Diffstat (limited to 'static/website/templates/ajax-chapters.html')
-rw-r--r-- | static/website/templates/ajax-chapters.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/static/website/templates/ajax-chapters.html b/static/website/templates/ajax-chapters.html new file mode 100644 index 0000000..e9ef640 --- /dev/null +++ b/static/website/templates/ajax-chapters.html @@ -0,0 +1,9 @@ +{% if chapters %} +<label>Chapter: </label> +<select id="chapters"> + <option value="">Select Chapter</option> +{% for chapter in chapters %} + <option value="{{ chapter.id }}">{{ chapter.number }} - {{ chapter.name }}</option> +{% endfor %} +</select> +{% endif %} |