<div class="panel panel--collapse">
    <div class="collapse-toggle">
        <h6 class="top__title">
            {$lang.settings.section.general.structured_data.title}
            {if isset($tooltips.settings.general.structured_data.title)}
                {if isset($tooltips.settings.general.structured_data.url) && $tooltips.settings.general.structured_data.url != ""}
                    {assign var="popoverFooter" value="<a class='btn btn--secondary btn--xs' href='{$tooltips.settings.general.structured_data.url}' target='_blank'>Learn More</a>"}
                {else}
                    {assign var="popoverFooter" value=false}
                {/if}
                {include 
                    file="adminarea/includes/helpers/popover.tpl" 
                    popoverClasses="notification__popover"
                    popoverBody="{$tooltips.settings.general.structured_data.title}"
                    popoverFooter="{$popoverFooter}"
                }
            {/if}
        </h6>
        <label>
            <div class="switch">
                <input type="hidden" name="settings[show_schema]" value="off"/>
                <input class="switch__checkbox"
                        name="settings[show_schema]" value="on"
                        type="checkbox" {if isset($settings['show_schema']) && $settings['show_schema'] == "on"} checked="checked" {/if}>
                <span class="switch__container">
                    <span class="switch__handle"></span>
                </span>
            </div>
        </label>
    </div> 
</div>