<details class="p-2 flex flex-col space-y-2 max-w-full text-lg rounded-xl border-4 bg-bluelight-translucent border-bluelight-dark justify-start {% if current_scene.title != scene_title %}hidden{% endif %} codes-block">
    <summary>Holy Cross Codes</summary>
    <div class="flex flex-col space-y-2 max-h-96 overflow-y-scroll">
        <ul class="flex flex-col space-y-2 rounded-xl codes-list">
            {% for name, code in default_codes.items %}
                {% include "tracker/codes/block.html" with is_entered=False %}
            {% endfor %}
            {% for scene, codes in tracked_codes.items %}
                {% if scene == "Global" %}
                    {% for name, code_tuple in codes.items %}
                        {% include "tracker/codes/block.html" with code=code_tuple.0 is_entered=code_tuple.1 %}
                    {% endfor %}
                {% elif scene == scene_title %}
                    {% for name, code_tuple in codes.items %}
                        {% include "tracker/codes/block.html" with code=code_tuple.0 is_entered=code_tuple.1 %}
                    {% endfor %}
                {% endif %}
            {% endfor %}
        </ul>
    </div>
</details>
