diff options
Diffstat (limited to 'ishtar_common/templates/window.html')
-rw-r--r-- | ishtar_common/templates/window.html | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ishtar_common/templates/window.html b/ishtar_common/templates/window.html index c473eff89..c3d8ccf6a 100644 --- a/ishtar_common/templates/window.html +++ b/ishtar_common/templates/window.html @@ -14,6 +14,7 @@ <script language="javascript" type="text/javascript" src="{{JQUERY_UI_URL}}jquery-ui.js"></script> <script language="javascript" type="text/javascript" src="{{JQUERY_UI_URL}}ui/i18n/jquery.ui.datepicker-{{COUNTRY}}.js"></script> <script language="javascript" type="text/javascript" src="{{STATIC_URL}}/js/ishtar.js"></script> + {{form.media}} <link type="text/css" href="{{JQUERY_UI_URL}}css/smoothness/jquery-ui.css" rel="stylesheet" /> <link rel="stylesheet" href="{{STATIC_URL}}/media/style.css" /> {% block extra_head %} @@ -31,8 +32,8 @@ save_and_close_window("{{parent_name}}", "{{parent_pk}}", "{{new_item_label}}", <table> {% for field in form %} <tr{% if field.field.required %} class='required'{% endif %}> - <th><label for="{{ field.label }}">{{ field.label_tag }}</th> - <td> {{ field.errors }}{{field|safe}}</td> + <th>{{ field.label_tag }}</th> + <td>{{ field.errors }}{{field|safe}}</td> </tr>{% endfor %} <tr><td colspan='2' class='submit_button'><input type="submit" id="submit_new_item" value="{% trans "Add" %}"/></td></tr> </table> |