--- a/pytask/templates/task/edit.html Sun Jan 16 20:47:43 2011 +0530
+++ b/pytask/templates/task/edit.html Sun Jan 16 20:54:42 2011 +0530
@@ -1,10 +1,23 @@
-{% extends 'base.html' %}
+{% extends "base.html" %}
{% load form_helpers %}
+{% block css %}
+ <style>
+ .ui-autocomplete-loading {
+ background: white url('images/ui-anim_basic_16x16.gif') right center no-repeat;
+ }
+ </style>
+{% endblock %}
+
+{% block js %}
+ <script type="text/javascript"
+ src="/pytask/static/js/create_task_form.js">
+ </script>
+ <script type="text/javascript">
+ create_form("{% url suggest_task_tags %}");
+ </script>
+{% endblock %}
+
{% block content %}
- <form action="" method="post">
- {% csrf_token %}
- {% as_div_form form %}
- <input type="submit" value="Update">
- </form>
+ {% as_div_form form "Create Task Form" csrf_token "" "Submit" %}
{% endblock %}