28 lines
1.1 KiB
HTML
28 lines
1.1 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<title>{{ title }}</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<link href="/static/math.css" rel="stylesheet" media="screen">
|
|
</head>
|
|
<body>
|
|
<section id="content">
|
|
<form method="post" action="{% url 'mmg.views.answer' %}">
|
|
{% csrf_token %}
|
|
<div class="number question">
|
|
<span class="number" id="first">{{ form.first.value }}</span>
|
|
<span class="number" id="operation">{{ form.operation.value }}</span>
|
|
<span class="number" id="second">{{ form.second.value }}</span>
|
|
</div>
|
|
{{ form.first }}
|
|
{{ form.operation }}
|
|
{{ form.second }}
|
|
{{ form.answer }}
|
|
<input type="submit" name="check" value="check"/>
|
|
</form>
|
|
</section>
|
|
<script src="/static/jquery-2.0.0.min.js"></script>
|
|
<script src="/static/math.js"></script>
|
|
</body>
|
|
</html>
|