equal
deleted
inserted
replaced
1 {% extends 'base.html' %} |
1 {% extends "base.html" %} |
2 {% load form_helpers %} |
2 {% load form_helpers %} |
3 |
3 |
|
4 {% block css %} |
|
5 <style> |
|
6 .ui-autocomplete-loading { |
|
7 background: white url('images/ui-anim_basic_16x16.gif') right center no-repeat; |
|
8 } |
|
9 </style> |
|
10 {% endblock %} |
|
11 |
|
12 {% block js %} |
|
13 <script type="text/javascript" |
|
14 src="/pytask/static/js/create_task_form.js"> |
|
15 </script> |
|
16 <script type="text/javascript"> |
|
17 create_form("{% url suggest_task_tags %}"); |
|
18 </script> |
|
19 {% endblock %} |
|
20 |
4 {% block content %} |
21 {% block content %} |
5 <form action="" method="post"> |
22 {% as_div_form form "Create Task Form" csrf_token "" "Submit" %} |
6 {% csrf_token %} |
|
7 {% as_div_form form %} |
|
8 <input type="submit" value="Update"> |
|
9 </form> |
|
10 {% endblock %} |
23 {% endblock %} |