diff options
author | Sebastian Reichel <sre@ring0.de> | 2012-07-27 00:25:24 +0200 |
---|---|---|
committer | Sebastian Reichel <sre@ring0.de> | 2012-07-27 00:25:24 +0200 |
commit | 05b408ad3047e40a63c16c367500e925986490a1 (patch) | |
tree | e39bb7a292c6d11c5f5104a3dab3645382a23297 /inventar/templates/admin/inventory/change_form.html | |
parent | c8c21d921094a33585cc66d95eaac38d0a5dd388 (diff) | |
download | ktt-inventory-system-05b408ad3047e40a63c16c367500e925986490a1.tar.bz2 |
add templates
Diffstat (limited to 'inventar/templates/admin/inventory/change_form.html')
-rw-r--r-- | inventar/templates/admin/inventory/change_form.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/inventar/templates/admin/inventory/change_form.html b/inventar/templates/admin/inventory/change_form.html new file mode 100644 index 0000000..5ee5442 --- /dev/null +++ b/inventar/templates/admin/inventory/change_form.html @@ -0,0 +1,17 @@ +{% extends "admin/change_form.html" %} + +{% block extrahead %} + {{ block.super }} + <link rel="stylesheet" href="/static/chosen/chosen.css" /> + <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script> + <script type="text/javascript" src="/static/chosen/chosen.jquery.js"></script> + <script type="text/javascript" src="/static/chosen/chosen.jquery_ready.js"></script> +{% endblock %} + +{% block after_related_objects %} + {{ block.super }} + <script type="text/javascript"> + $(".chzn-select").chosen(); + $(".chzn-select-deselect").chosen({allow_single_deselect:true}); + </script> +{% endblock %} |