{% extends "workflow/viewport-element.html" %} {% load staticfiles %} {% load bootstrap3 %} {% block content %} {% bootstrap_form_errors form type='non_fields' %}
{% csrf_token %}
{% bootstrap_field form.purpose %} {% bootstrap_field form.project %} {% bootstrap_field form.length %}

Days:

0 {% bootstrap_field form.info_file %}

You must provide a url to your project's INFO.yaml file if you are a PTL and you are trying to book a POD with multiple servers in it.

{% bootstrap_field form.users %}
{% buttons %} {% endbuttons %}
{% endblock content %} {% block onleave %} var ajaxForm = $("#booking_meta_form"); var formData = ajaxForm.serialize(); console.log(formData); 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 %}