summaryrefslogtreecommitdiffstats
path: root/inventar/templates/admin/inventory/change_form.html
diff options
context:
space:
mode:
Diffstat (limited to 'inventar/templates/admin/inventory/change_form.html')
-rw-r--r--inventar/templates/admin/inventory/change_form.html17
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 %}