request-lease.html 689 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
{% extends "dashboard/base.html" %}

{% load i18n %}

{% block content %}

<div class="row">
  <div class="col-md-12">
    <div class="panel panel-default">
      <div class="panel-heading">
        <h3 class="no-margin">
          <i class="fa fa-puzzle-piece"></i> {% trans "Request new lease" %}
        </h3>
      </div>
      <div class="panel-body">
        <div class="form-group">
          <label>{% trans "Virtual machine" %}</label>
          <div class="controls">
            <a href="{{ vm.get_absolute_url }}">{{ vm.name }}</a>
          </div>
        </div>
        {% include "request/_request-lease-form.html" %}
      </div>
    </div>
  </div>
</div>

{% endblock %}