<head> {{ HTML.script('static/js/libs/jquery-1.11.1.min.js') |raw }} {{ HTML.script('static/js/config.js')|raw }} {{ HTML.script('static/js/task1.js')|raw }} </head> <body> <input type="text" size="1" name="num" min="1" max="10" value="1" class="textField"> <form> <input type="button" name="button" value="OK" class='btn'> </form> <select id="departments"> {% for f in Departments %} <option value="{{ f.ID }}"> {{ f.Name }} </option> {% endfor %} </select> </body>