You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
685 B
HTML
24 lines
685 B
HTML
2 years ago
|
<!DOCTYPE html>
|
||
|
<html lang="en">
|
||
|
<head>
|
||
|
<meta charset="utf-8" />
|
||
|
<title>library</title>
|
||
|
</head>
|
||
|
<body>
|
||
|
<select class="form-control" name="cat">
|
||
|
{% for cat in categories %}
|
||
|
{% if cat['title'] == request.form['cat'] %}
|
||
|
<option value="{{ request.form['cat'] }}" selected>
|
||
|
{{ request.form['cat'] }}
|
||
|
</option>
|
||
|
{% else %}
|
||
|
<option value="{{ cat['title'] }}">
|
||
|
{{ cat['title'] }}
|
||
|
</option>
|
||
|
{% endif %}
|
||
|
{% endfor %}
|
||
|
</select>
|
||
|
<div id="panel-container"></div>
|
||
|
</body>
|
||
|
</html>
|