Bug 869 fixed by modifiying sdn create's password input field
[osm/LW-UI.git] / sdnctrlhandler / template / sdn_create.html
index 60249a3..bae4bc6 100644 (file)
@@ -1,3 +1,19 @@
+<!--
+Copyright 2019 EveryUP srl
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an  BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+
 {% extends "base.html" %}
 {% load get %}
 {% load staticfiles %}
@@ -19,7 +35,7 @@
 
 {% block breadcrumb_body %}
     {{ block.super }}
-    <li><a href="{% url 'projects:sdns:list' project_id=project_id %}">SDN Controllers</a></li>
+    <li><a href="{% url 'sdns:list'  %}">SDN Controllers</a></li>
 {% endblock %}
 
 {% block content_body %}
@@ -27,7 +43,7 @@
 
     <div class="row">
         <div class="col-md-12">
-            <form action='{% url 'projects:sdns:create' project_id=project_id %}' method="post">
+            <form action='{% url 'sdns:create'  %}' method="post">
                 {% csrf_token %}
                 <div class="box">
                     <div class="box-header with-border">
@@ -74,7 +90,7 @@
                                         <label for="sdn_password" class="col-sm-3 control-label">Password*</label>
                                         <div class="col-sm-6 input-group input-group-sm">
                                             <input type="password" class="form-control" id="password"
-                                                   name="sdn_password" required>
+                                                   name="password" required>
                                         </div>
                                     </div>
                                 </div>
 
                     </div>
                     <div class="box-footer">
-                        <button onclick="location.href='{% url 'projects:sdns:list' project_id=project_id %}'"
+                        <button onclick="location.href='{% url 'sdns:list'  %}'"
                                 class="btn btn-default pull-left">Back to
                             SDN Controllers
                         </button>
 
 {% block footer %}
     {% include "footer.html"  %}
-{% endblock %}
\ No newline at end of file
+{% endblock %}