aboutsummaryrefslogtreecommitdiffstats
path: root/src/templates/resource/steps/define_hardware.html
diff options
context:
space:
mode:
authorSawyer Bergeron <sbergeron@iol.unh.edu>2019-07-02 13:27:43 -0400
committerSawyer Bergeron <sbergeron@iol.unh.edu>2019-07-02 13:27:43 -0400
commit7cb4c3f79394a59e0276510261550ca6bb3a4fdf (patch)
tree609a6a97df43f5f397975a65fb71b1e470f6d093 /src/templates/resource/steps/define_hardware.html
parent939f90eabd3fd6ac17b0a1a0646962ead88d5e99 (diff)
Remove onleave + make form id's consistent
Change-Id: If167ae98226adfccfcfe2baa356370454a9931b4 Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
Diffstat (limited to 'src/templates/resource/steps/define_hardware.html')
-rw-r--r--src/templates/resource/steps/define_hardware.html10
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 %}