hmm, I'm not a fan of if statements surrounding large blocks of html. It would be better to have a separate `accounting/accounting_base_form.html` with everything necessary just to render the form and then extend that template by calling `{{ block.super }}`
```
{% block main_column %}
<form ...></form>
{% endblock %}
```

And something like `accounting/accounts.html`
```
{% block main_column %}
<ul ...></ul>
<div class="tab-content" ...>
{{ block.super }}
</div>
{% endblock %}
```