{% extends "base.html" %} {% block title %}{{ title }}{% endblock %} {% block page_title %}{{ title }} — {{ month_label }}{% endblock %} {% block content %}
{{ form.hidden_tag() }} {{ form.month() }}
{{ form.category_id.label(class="form-label fw-medium", style="font-size:13px;") }} {{ form.category_id(class="form-select" + (" is-invalid" if form.category_id.errors else ""), **({'disabled': 'disabled'} if budget else {})) }} {% if budget %} {% endif %}
{{ form.limit_amount.label(class="form-label fw-medium", style="font-size:13px;") }}
{{ current_user.currency_symbol }} {{ form.limit_amount(class="form-control" + (" is-invalid" if form.limit_amount.errors else ""), placeholder="0.00") }}
{% for e in form.limit_amount.errors %}
{{ e }}
{% endfor %}
{{ form.rollover_enabled(class="form-check-input") }} {{ form.rollover_enabled.label(class="form-check-label", style="font-size:13px;") }}
Unused budget rolls over to next month.
{{ form.submit(class="btn btn-primary") }} Cancel
{% endblock %}