{% load i18n %}
{% load crispy_forms_tags %}

<form action="{% url "request.views.request-lease" vm_pk=vm.pk %}" method="POST">
  {% include "display-form-errors.html" %}
  {% csrf_token %}
  {{ form.lease|as_crispy_field }}
  {{ form.message|as_crispy_field }}
  {% for fields in form.get_dynamic_fields %}
    {{ field|as_crispy_field }}
  {% endfor %}
  <input type="submit" class="btn btn-primary"/>
</form>
