diff options
Diffstat (limited to '97suifangqa/apps/indicator/templates/simple.html')
-rw-r--r-- | 97suifangqa/apps/indicator/templates/simple.html | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/97suifangqa/apps/indicator/templates/simple.html b/97suifangqa/apps/indicator/templates/simple.html new file mode 100644 index 0000000..7775ab7 --- /dev/null +++ b/97suifangqa/apps/indicator/templates/simple.html @@ -0,0 +1,23 @@ +<html> +<head> + <title>{{ action }} {{ object }}</title> +</head> + +<body> + <h1>{{ action }} {{ object }}</h1> + + {% if form.errors %} + <p style="color: red;"> + Please correct the error{{ form.errors|pluralize }} below. + </p> + {% endif %} + + <form action="" method="post">{% csrf_token %} + <table> + {{ form.as_table }} + </table> + <input type="submit" value="Submit" /> + </form> +</body> +</html> + |