Commit 1d0cf233 authored by Daniel W Bond's avatar Daniel W Bond
Browse files

added the chosen.js parameters for limiting the number of selections and for placeholder text

parent 739c8acc
......@@ -70,6 +70,7 @@
{% block javascript %}
<script type="text/javascript" src="/static/js/chosen.min.js"></script>
<script>
$(".chosen-select").chosen()
$(".chosen-select").chosen({max_selected_options: 2,
placeholder_text_multiple: '(select up to two)'});
</script>
{% endblock javascript %}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment