{% set section = "Filters" %}
{% set section_class_name = section | lower | append_uuid %}

{# Collapse content during documentation build. #}
{% if collapsed %}
{% set collapsed_row_class = "repr-element-faded repr-element-collapsed" %}
{% else %}
{% set collapsed_row_class = "" %}
{% endif %}

<tr class="repr-section-header {{ section_class_name }}" {% if collapsed %} title="Show section" {% else %} title="Hide section" {% endif %}
    onclick="toggleVisibility('{{ section_class_name }}')">
    <th class="repr-section-toggle-col">
        <button>
            {# This span is for the background SVG icon #}
            <span class="collapse-uncollapse-caret"></span>
        </button>
    </th>
    <th colspan="2">
        <strong>{{ section }}</strong>
    </th>
</tr>
{% if info["highpass"] is defined and info["highpass"] is not none %}
<tr class="repr-element {{ section_class_name }} {{ collapsed_row_class }}">
    <td class="repr-section-toggle-col"></td>
    <td>Highpass</td>
    <td>{{ "%0.2f" | format(info["highpass"]) }} Hz</td>
</tr>
{% endif %}
{% if info["lowpass"] is defined and info["lowpass"] is not none %}
<tr class="repr-element {{ section_class_name }} {{ collapsed_row_class }}">
    <td class="repr-section-toggle-col"></td>
    <td>Lowpass</td>
    <td>{{ "%0.2f" | format(info["lowpass"]) }} Hz</td>
</tr>
{% endif %}
{% if info.projs is defined and info.projs %}
<tr class="repr-element {{ section_class_name }} {{ collapsed_row_class }}">
    <td class="repr-section-toggle-col"></td>
    <td>Projections</td>
    <td>
        {% for p in (info | format_projs) %}
        {{ p }}
        {% if not loop.last %}<br />{% endif %}
        {% endfor %}
    </td>
</tr>
{% endif %}