Skip to content

Commit

Permalink
edit_categories tempalte
Browse files Browse the repository at this point in the history
  • Loading branch information
danielnaab committed Mar 1, 2012
1 parent 8d9e08f commit 0e64552
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions exercises/templates/exercises/edit_categories.html
@@ -0,0 +1,21 @@
{% load mptt_tags %}

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Khan Academy Exercises - Edit Categories</title>
<link href="{{STATIC_URL}}css/base.css" rel="stylesheet" type="text/css" />
</head>
<body>
<form method="post" action=".">
{{ formset.management_form }}
<button type="submit" name="action" value="save">Save</button>
{% for form in formset.forms %}
<div><strong>{{form.instance.display_name}} - {{form.instance.khan_id}}:</strong></div>
{{form.as_p}}
{% endfor %}
<button type="submit" name="action" value="save">Save</button>
</form>
</body>
</html>

0 comments on commit 0e64552

Please sign in to comment.