{% extends "leases/base.html" %}{% load lease_extras %} {% block title %}IBR table{% endblock %} {% block content %}

Incremental borrowing rate table

{% for c in currencies %}{{ c }}{% endfor %}
{% csrf_token %}{{ formset.management_form }} {% for f in formset %}{% endfor %}
Tenor (months)Rate %Delete
{{ f.id }}{{ f.tenor_months }}{{ f.tenor_months.errors }}{{ f.rate }}{{ f.rate.errors }}{% if f.instance.pk %}{{ f.DELETE }}{% endif %}
{% if lookup %}{{ lookup.0 }} months: {% if lookup.1 %}{{ lookup.1|pct }}{% else %}no rates{% endif %}{% endif %}

Rates are interpolated linearly between tenors and held flat beyond the first and last point.

{% endblock %}