{% 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 %}
