projects
/
flowspy
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
839745f
)
Tranform user field into select2 field
author
Leonidas Poulopoulos
<leopoul@noc.grnet.gr>
Thu, 28 Aug 2014 08:14:38 +0000
(11:14 +0300)
committer
Leonidas Poulopoulos
<leopoul@noc.grnet.gr>
Thu, 28 Aug 2014 08:14:38 +0000
(11:14 +0300)
templates/apply.html
patch
|
blob
|
history
diff --git
a/templates/apply.html
b/templates/apply.html
index
f6188dd
..
64d24bc
100644
(file)
--- a/
templates/apply.html
+++ b/
templates/apply.html
@@
-85,6
+85,9
@@
<script>
$(document).ready( function(){
$('#id_then').removeAttr("multiple");
+ {% if user.is_superuser %}
+ $("#id_applier").select2();
+ {% endif %}
$("#id_protocol").select2();
$("#id_fragmenttype").select2();
$("#id_then").select2();