extends layout html block head endblock block body script type text ja

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{% extends "layout.html" %}
{% block head %}
{% endblock %}
{% block body %}
<script type="text/javascript">
$('#but').onclick(function (event) {
})
</script>
Tests
<br>
<select>
<option value="0"> Theme1 </option>
<option value="1"> Theme2 </option>
</select>
<br>
<label><input type='radio' name="r" value="t1"> Test1 </label>
<br>
<label><input type='radio' name="r" value="t1"> Test2 </label>
<br>
<label><input type='radio' name="r" value="t1"> Test3 </label>
<br>
<input id="but" type='submit' value="ShowTest">
{% endblock %}