summaryrefslogtreecommitdiff
path: root/static/website/templates/ajax-examples.html
blob: a8ba090570bac6e94e41247578c65e53f88c658a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

                        <label>Example: </label>
                        <select id="examples">
                            <option value="0">Select Example</option>
                            <!-- <! modified option value > -->

                            {% for example in examples %} {% if eid == example.id %}
                            <option value="{{ example.id }}" selected>{{ example.number }} - {{ example.caption }}</option>
                            {% else %}
                            <option value="{{ example.id }}">{{ example.number }} - {{ example.caption }}</option>
                            {% endif %} {% endfor %}
                        </select>

<a href="#" class="extra-link" id="download-example">Download Example</a>