2013-04-23 18:02:59 -07:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<title>{{ title }}</title>
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
2013-04-23 19:45:32 -07:00
|
|
|
<link href="/static/math.css" rel="stylesheet" media="screen">
|
2013-04-23 18:02:59 -07:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<section id="content">
|
2013-04-23 19:45:32 -07:00
|
|
|
<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>
|
2013-04-23 18:02:59 -07:00
|
|
|
</section>
|
|
|
|
<script src="/static/jquery-2.0.0.min.js"></script>
|
|
|
|
<script src="/static/math.js"></script>
|
|
|
|
</body>
|
|
|
|
</html>
|