{% extends "dashboard/base.html" %}
{% load i18n %}
{% load crispy_forms_tags %}

{% block title-page %}{% trans "Edit lease" %}{% endblock %}

{% block content %}
<div class="row">
  <div class="panel panel-default">
    <div class="panel-heading">
      <a class="pull-right btn btn-default btn-xs" href="{% url "dashboard.views.template-list" %}">{% trans "Back" %}</a>
      <h3 class="no-margin"><i class="fa fa-clock-o"></i> {% trans "Edit lease" %}</h3>
    </div>
    <div class="panel-body">
      {% with form=form %}
        {% include "display-form-errors.html" %}
      {% endwith %}
      {% crispy form %}
    </div>
  </div>
</div>

{% endblock %}
