mirror of
https://github.com/Hopiu/django-select2.git
synced 2026-04-07 15:40:57 +00:00
21 lines
No EOL
508 B
HTML
21 lines
No EOL
508 B
HTML
{% load staticfiles %}
|
|
{% load django_select2_tags %}
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<script src="{% static 'jquery-1.7.2.min.js' %}"></script>
|
|
<script type="text/javascript">
|
|
window.onerror = function (msg) {
|
|
$("body").attr("JSError", msg);
|
|
}
|
|
</script>
|
|
{% import_django_select2_js %}
|
|
{% import_django_select2_css %}
|
|
</head>
|
|
<body>
|
|
<form method="post" action="">
|
|
{% csrf_token %}
|
|
{{ form }}
|
|
<input type="submit" value="Submit Form"/>
|
|
</form>
|
|
</body> |