{% extends 'swiftwind/base.html' %} {% load bootstrap3 %} {% load swiftwind_utilities %} {% block page_name %}Recurring Costs{% endblock %} {% block page_actions %} Create New {% endblock %} {% block content %}
{% csrf_token %} {{ formset.management_form }} {% for form in formset %}
{% bootstrap_field form.id %} {% bootstrap_field form.to_account size='large' show_label=False %}

Details

{% if form.type %} {% bootstrap_field form.type show_label=False %} {% endif %} {% bootstrap_field form.fixed_amount layout='horizontal' addon_before='£' %} {% if form.total_billing_cycles %} {% bootstrap_field form.total_billing_cycles layout='horizontal' addon_after='cycles' %} {% endif %} {% if form.is_active %} {% bootstrap_field form.is_active show_help=False %} {% endif %}

Cost Allocation

Equal values will result in the cost being spread evenly across all housemates. A value of 0 will prevent the housemate being billed for this cost.

{{ form.nested.management_form }} {% for split_form_row in form.nested|partition:"2" %}
{% for split_form in split_form_row %} {% bootstrap_field split_form.id %}
{{ split_form.instance.from_account.name|short_name }}
{% bootstrap_field split_form.portion show_label=False %}
{% endfor %}
{% empty %}

It seems you haven't setup any housemates yet

{% endfor %}
{% if forloop.last %}
{% endif %} {% empty %}

You don't have any recurring costs yet. Perhaps create some?

{% endfor %}
{% endblock %}