1 {% extends "layout.html" %}
5 {% block basecontent %}
9 <div id="page-wrapper">
13 {% endblock content %}
15 <!-- /#page-wrapper -->
17 {% block vport_comm %}
18 <script type="text/javascript">
19 var step_count = {{ step_number|default:0 }};
20 var active_step = {{ active_step|default:0 }};
21 var render_correct = {{ render_correct|default:"false" }};
22 var title = "{{ step_title|default:"Workflow Step" }}";
23 var description = "{{ description|default:"Contact the admins, because this field should have something else filled in here" }}";
25 parent.update_context();
27 parent.update_description(title, description);
30 {% endblock vport_comm %}
31 {% block validate_step %}
34 function step_is_valid()
36 valid = confirm("Is this form valid?");
48 alert("Error: something!");
52 {% endblock validate_step %}
55 function step_on_leave() {
57 alert("override onleave");
62 <div class="messages">
63 {% block element_messages %}
64 {% bootstrap_messages %}
69 {% endblock basecontent %}