1 {% extends "layout.html" %}
5 {% block basecontent %}
7 <div id="wrapper" class="h-100">
9 <div id="page-wrapper" class="h-100">
11 {% endblock content %}
14 {% block vport_comm %}
15 <script type="text/javascript">
16 var step_count = {{ step_number|default:0 }};
17 var active_step = {{ active_step|default:0 }};
18 var render_correct = {{ render_correct|default:"false" }};
19 var title = "{{ step_title|default:"Workflow Step" }}";
20 var description = "{{ description|default:"Contact the admins, because this field should have something else filled in here" }}";
22 parent.update_context();
24 parent.update_description(title, description);
27 {% endblock vport_comm %}
28 {% block validate_step %}
31 function step_is_valid()
33 valid = confirm("Is this form valid?");
45 alert("Error: something!");
49 {% endblock validate_step %}
52 function step_on_leave() {
54 alert("override onleave");
59 <div class="messages">
60 {% block element_messages %}
61 {% bootstrap_messages %}
64 {% endblock basecontent %}