{% extends "leases/base.html" %} {% block title %}New lease{% endblock %} {% block content %}

New lease

{% csrf_token %} {{ formset.management_form }}
  1. Lease
  2. Payments
  3. Rate and costs
  4. Options and exemptions
{% if form.non_field_errors %}
{{ form.non_field_errors }}
{% endif %}
{% for f in form %}{% if f.name in "entity reference description asset_class lessor commencement_date term_months" %}
{{ f.label_tag }}{{ f }}{{ f.errors }}{% if f.help_text %}{{ f.help_text }}{% endif %}
{% endif %}{% endfor %}
{% for f in form %}{% if f.name in "payment_amount frequency timing escalation_pct escalation_every_years cpi_indexed rent_free_months" %}
{{ f.label_tag }}{{ f }}{{ f.errors }}{% if f.help_text %}{{ f.help_text }}{% endif %}
{% endif %}{% endfor %}
{% for f in form %}{% if f.name in "ibr initial_direct_costs incentives_received prepaid_payments restoration_cost useful_life_months ownership_transfers" %}
{{ f.label_tag }}{{ f }}{{ f.errors }}{% if f.help_text %}{{ f.help_text }}{% endif %}
{% endif %}{% endfor %}
{% for f in form %}{% if f.name == "exemption" %}
{{ f.label_tag }}{{ f }}{{ f.errors }}
{% endif %}{% endfor %}

Extension and termination options

{{ formset.non_form_errors }} {% for sub in formset %}
{{ sub.kind }} {{ sub.months }} {{ sub.errors }}
{% endfor %} Only options flagged reasonably certain change the lease term used for measurement.
{% endblock %} {% block scripts %}{% load static %}{% endblock %}