Permalink
Browse files

edit_categories tempalte

  • Loading branch information...
1 parent 8d9e08f commit 0e64552bb5eff2ed1bee8a7ed0b0d28ffb378afb @danielnaab committed Mar 1, 2012
Showing with 21 additions and 0 deletions.
  1. +21 −0 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.