{% comment %}
bw_tabs raises at render time if active_tab does not match one of the keys,
rather than silently rendering a tablist with nothing selected. Supply the
tab list from your view (settings_tabs below) so the section names live in
one place with your URLs.
{% endcomment %}
{% bw_tabs settings_tabs active=active_tab id="settings" %}
{% comment %}
The active section's body. Branch on active_tab, or (usually cleaner) give
each section its own template and include the right one from the view. The
form pattern is identical to app/form.html: you own the
{% endblock %}