{% extends "base.html" %}

{% block title %}Create{% endblock %}

{% block page_content %}
<div class="page-header">
    <h1>Deployment order #{{ order.pid }}</h1>
</div>

    <div class="col-md-12">
    <div class="panel panel-default">
    <div class="panel-heading">Create Deployment</div>
    <div class="panel-body">

    <form method="POST" action="{{ url_for('vmanager.vmcreate', orderid=order.pid) }}">
    <label><strong><b>{{ form.slaveswitcher.label }}</b></strong></label>
        <div>{{ form.slaveswitcher }}</div>
        {% for error in form.slaveswitcher.errors %}
            {{ error }}<br />
        {% endfor %}
    <p>
        {{ form.csrf_token() }}
        {{ form.submit }}
    </p>

    </div>
    </div>
    </div>
{% endblock %}

