X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=portal%2Ftemplates%2Fslicerequest_view.html;h=880521b451b3a1bace005abaad14f9c96b4c5b5b;hb=2c1bd9325dc325f82d99807fcdb9d14ae148f167;hp=0c41fd1cad50e480f3d1248bf78af8597c6cb96f;hpb=77326a9f7b07e067331e5a52f01ab1df4abb023d;p=myslice.git diff --git a/portal/templates/slicerequest_view.html b/portal/templates/slicerequest_view.html index 0c41fd1c..880521b4 100644 --- a/portal/templates/slicerequest_view.html +++ b/portal/templates/slicerequest_view.html @@ -4,29 +4,31 @@ {% block content %}
-

Request a Slice Request a new Slice

+

Request a Slice Request a new slice

{% if errors %} - - {% endif %}
-
 
+
+ +
+ {% endif %} +
-
+
{% csrf_token %}
-
@@ -34,20 +36,19 @@ {%else%} - {%endif%}
-
-
-

- +
@@ -57,7 +58,7 @@ jQuery(document).ready(function(){ $("#authority_hrn").load("/rest/user/", {"fields" : ["parent_authority"], "filters": {"user_hrn": "{{ user_hrn }}"}}, function(data) { - var jsonData = JSON.parse(data) + var jsonData = JSON.parse(data); $(this).attr("value", jsonData[0]['parent_authority']); }); var availableTags = [ @@ -76,7 +77,7 @@ jQuery(document).ready(function(){ $( "#authority_hrn" ).autocomplete({ source: availableTags, minLength: 0, - select: function( event, ui ) {console.log(jQuery(this))} + select: function( event, ui ) {console.log(jQuery(this));} }); });