{% extends "base.html" %} {% from "tax/_fields.html" import field, steps %} {% block title %}{{ s.title }} ยท {{ year }}{% endblock %} {% block content %}

Tax return {{ year }} / {{ s.title }} /

{{ s.item_title(entry) if idx is not none else 'Add ' ~ s.title }}

{{ steps(sections, year, s.get('parent', s.slug)) }}
{% for f in s.fields %}{{ field(f, get_path(entry, f.path)) }}{% endfor %}
Cancel {% if idx is not none %}{% endif %}
{% endblock %}