{% extends "base.html" %}

{% import "macros/element.html" as Element %}
{% import "macros/form.html" as Form %}

{% block page_heading %}
  {% if session.has_partner %}
    You and your partner’s outgoings
  {% else %}
    Your outgoings
  {% endif %}
{% endblock %}

{% block inner_content %}
  <p>We only need to know about certain things you pay for, to work out if you may be able to get legal aid.</p>

  <form method="POST" action="{{ url_for('.outgoings') }}">
    {{ form.csrf_token }}

    {{ Form.handle_errors(form) }}

    {{ Form.money_interval_field(form.rent) }}
    {{ Form.money_interval_field(form.maintenance) }}
    {{ Form.text_field(form.income_contribution, prefix="£") }}
    {{ Form.money_interval_field(form.childcare, not session.has_children) }}

    {{ Element.call_me_back_link() }}

    {{ Form.honeypot(form) }}
    {{ Form.actions('Submit') }}
  </form>
{% endblock %}

{% extends "base.html" %}

{% import "macros/element.html" as Element %}
{% import "macros/form.html" as Form %}

{% block page_heading %}
  {% if session.has_partner %}
    You and your partner’s outgoings
  {% else %}
    Your outgoings
  {% endif %}
{% endblock %}

{% block inner_content %}
  <p>We only need to know about certain things you pay for, to work out if you may be able to get legal aid.</p>

  <form method="POST" action="{{ url_for('.outgoings') }}">
    {{ form.csrf_token }}

    {{ Form.handle_errors(form) }}

    {{ Form.money_interval_field(form.rent) }}
    {{ Form.money_interval_field(form.maintenance) }}
    {{ Form.text_field(form.income_contribution, prefix="£", class_='m-small') }}
    {{ Form.money_interval_field(form.childcare, not session.has_children) }}

    {{ Element.call_me_back_link() }}

    {{ Form.honeypot(form) }}
    {{ Form.actions('Submit') }}
  </form>
{% endblock %}

Make Income Contributions field smaller
FE: Make Income Contributions field smaller
