2016-08-21 05:51:55 +02:00
|
|
|
{% extends 'kfet/base.html' %}
|
|
|
|
{% load staticfiles %}
|
|
|
|
|
|
|
|
{% block extra_head %}
|
|
|
|
<link rel="stylesheet" text="text/css" href="{% static 'kfet/css/multiple-select.css' %}">
|
|
|
|
<script src="{% static 'kfet/js/multiple-select.js' %}"></script>
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
|
|
|
|
<form action="" method="post">
|
|
|
|
{% csrf_token %}
|
2016-09-03 14:06:51 +02:00
|
|
|
<div>
|
|
|
|
{{ form.name.errors }}
|
|
|
|
{{ form.name.label_tag }}
|
|
|
|
<div class="input-group">
|
|
|
|
<span class="input-group-addon">K-Fêt</span>
|
|
|
|
{{ form.name }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
{{ form.permissions.errors }}
|
|
|
|
{{ form.permissions.label_tag }}
|
|
|
|
{{ form.permissions }}
|
|
|
|
</div>
|
2016-08-21 05:51:55 +02:00
|
|
|
<input type="submit" value="Enregistrer">
|
|
|
|
</form>
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
$(document).ready(function() {
|
|
|
|
$("select").multipleSelect({
|
|
|
|
width: 500,
|
2016-09-03 14:06:51 +02:00
|
|
|
filter: true,
|
2016-08-21 05:51:55 +02:00
|
|
|
});
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
|
|
|
|
{% endblock %}
|