{% macro booking_balance_account_with_children(node) %}
-<tr class="alternating{% if node.directly_set %} directly_set{% endif %}">
-<td>{{node.name}}{% if node.children %}:{% endif %}</td>
+<tr class="alternating">
+<td {% if node.directly_set %}class="directly_set"{% endif %}>{{node.name}}{% if node.children %}:{% endif %}</td>
<td class="money">
<table>
{% for curr, amt in node.wealth_before.items() %}
input.date_input, input.number_input { font-family: monospace; }
input.number_input { text-align: right; }
input.date_input { margin-right: 0.1em; }
-tr.directly_set > td { font-weight: bold; }
+td.directly_set { font-weight: bold; }
{% endblock %}