X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=portal%2Ftemplates%2Fslicerequest_view.html;h=880521b451b3a1bace005abaad14f9c96b4c5b5b;hb=583c62239bbf6be5222e170609e547349389c1c1;hp=7ef30cd5c24ec12c85aae78b9e38ea7e31abbc13;hpb=d0e9b255a79411a4d214f95ec81eeb1b67ecc74f;p=myslice.git diff --git a/portal/templates/slicerequest_view.html b/portal/templates/slicerequest_view.html index 7ef30cd5..880521b4 100644 --- a/portal/templates/slicerequest_view.html +++ b/portal/templates/slicerequest_view.html @@ -3,14 +3,14 @@ {% block content %}
-
-

Request a Slice Request a new Slice

+
+

Request a Slice Request a new slice

{% if errors %}
-
+
    {% for error in errors %}
  • {{ error }}
  • @@ -21,14 +21,14 @@ {% endif %}
    -
    +
    {% csrf_token %}
    -
    @@ -41,14 +41,14 @@ {%endif%}
    -
    -
    - +
    @@ -58,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 = [ @@ -77,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));} }); });