aboutsummaryrefslogtreecommitdiffstats
path: root/src/templates/resource/steps/meta_info.html
diff options
context:
space:
mode:
authorParker Berberian <pberberian@iol.unh.edu>2019-07-03 13:15:06 +0000
committerGerrit Code Review <gerrit@opnfv.org>2019-07-03 13:15:06 +0000
commit9e22f1782fd81a915d71d47aecc84955f9b996bc (patch)
tree4861a816c2c2176e868a078e04e350757a6c7e1a /src/templates/resource/steps/meta_info.html
parente3389d42758feef5dad48e0bbcd5a0a3f6af4206 (diff)
parent7cb4c3f79394a59e0276510261550ca6bb3a4fdf (diff)
Merge "Remove onleave + make form id's consistent"
Diffstat (limited to 'src/templates/resource/steps/meta_info.html')
-rw-r--r--src/templates/resource/steps/meta_info.html12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/templates/resource/steps/meta_info.html b/src/templates/resource/steps/meta_info.html
index 62230dc..b6a17a9 100644
--- a/src/templates/resource/steps/meta_info.html
+++ b/src/templates/resource/steps/meta_info.html
@@ -5,20 +5,10 @@
{% block content %}
-<form id="resource_meta_form" method="post" action="/wf/workflow/">
+<form id="step_form" method="post">
{% csrf_token %}
<table class="px-4">
{% bootstrap_form form field_class="px-4" label_class="px-4 mt-2" %}
</table>
</form>
{% endblock content %}
-
-{% block onleave %}
-var ajaxForm = $("#resource_meta_form");
-var formData = ajaxForm.serialize();
-req = new XMLHttpRequest();
-req.open("POST", "/wf/workflow/", false);
-req.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
-req.onerror = function() { alert("problem submitting form"); }
-req.send(formData);
-{% endblock %}