{LOOP}
    <label class="list-group-item d-flex align-items-center">
        <input class="form-check-input me-2" type="radio" name="folderSelect" value="{location}">
        <button class="btn d-flex justify-content-between align-items-center w-100" type="button" aria-expanded="false" aria-controls="{parentfolderName}-{folderName}" data-bs-toggle="collapse" data-bs-target="#{parentfolderName}-{folderName}">
            <span class="d-flex flex-grow-1">
                {spacer}{folderName}
            </span>
            <i class="fa fa-solid fa-caret-down"></i>
        </button>
    </label>
    <div id="{parentfolderName}-{folderName}" class="collapse">
        {subdirs}
    </div>
{/LOOP}