Created
April 27, 2012 16:15
-
-
Save linssen/2510510 to your computer and use it in GitHub Desktop.
Django admin Chosen template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% extends "admin/change_form.html" %} | |
{% load i18n admin_static admin_modify %} | |
{% load url from future %} | |
{% load admin_urls %} | |
{% block extrahead %} | |
{{ block.super }} | |
{% if not is_popup %} | |
<link href="{{ STATIC_URL }}admin/chosen/chosen.css" type="text/css" media="screen" rel="stylesheet"> | |
<link href="{{ STATIC_URL }}admin/chosen/linssen.css" type="text/css" media="screen" rel="stylesheet"> | |
<script type="text/javascript" src="{{ STATIC_URL }}admin/chosen/chosen.jquery.min.js"></script> | |
<script type="text/javascript" src="{{ STATIC_URL }}admin/chosen/linssen.js"></script> | |
{% endif %} | |
{% endblock %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment