diff options
author | Parker Berberian <pberberian@iol.unh.edu> | 2019-07-03 13:15:06 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2019-07-03 13:15:06 +0000 |
commit | 9e22f1782fd81a915d71d47aecc84955f9b996bc (patch) | |
tree | 4861a816c2c2176e868a078e04e350757a6c7e1a /src/templates/resource/steps/define_hardware.html | |
parent | e3389d42758feef5dad48e0bbcd5a0a3f6af4206 (diff) | |
parent | 7cb4c3f79394a59e0276510261550ca6bb3a4fdf (diff) |
Merge "Remove onleave + make form id's consistent"
Diffstat (limited to 'src/templates/resource/steps/define_hardware.html')
-rw-r--r-- | src/templates/resource/steps/define_hardware.html | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/templates/resource/steps/define_hardware.html b/src/templates/resource/steps/define_hardware.html index 57078e9..33a7d8e 100644 --- a/src/templates/resource/steps/define_hardware.html +++ b/src/templates/resource/steps/define_hardware.html @@ -9,16 +9,8 @@ As you make your selections, labs and hosts that are not compatible with your current configuration will become unavailable.</p> <h4>NOTE: Only PTL's are able to create multi-node PODs. See <a href="https://google.com">here</a> for more details</h4> -<form id="define_hardware_form" action="/wf/workflow/" method="post"> +<form id="step_form" method="post"> {% csrf_token %} {{form.filter_field|default:"<p>No Form</p>"}} </form> {% endblock content %} -{% block onleave %} -multi_filter_widget.finish(); -var formData = $("#define_hardware_form").serialize(); -req = new XMLHttpRequest(); -req.open('POST', '/wf/workflow/', false); -req.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); -req.send(formData); -{% endblock %} |