summaryrefslogtreecommitdiff
path: root/static/website/templates/ajax-chapters.html
blob: a3fda7b8faf0658aeff58b12a1bff880123074e9 (plain)
1
2
3
4
5
6
7
8
9
10
11

                        <label>Chapter: </label>
                        <select id="chapters">
                            <option value="">Select Chapter</option>
                            {% for chapter in chapters %} {% if chapter_id == chapter.id %}
                            <option value="{{ chapter.id }}" selected>{{ chapter.number }} - {{ chapter.name }}</option>
                            {% else %}
                            <option value="{{ chapter.id }}">{{ chapter.number }} - {{ chapter.name }}</option>
                            {% endif %} {% endfor %}
                        </select>
<a href="#" class="extra-link" id="download-chapter">Download Chapter</a>