<?php defined('C5_EXECUTE') or die('Access Denied.'); ?>

<div class="form-group">
        <span>
            <?= t('Detach your %s account', t('facebook')) ?>
        </span>
    <hr>
</div>
<div class="form-group">
    <a href="<?= \URL::to('/ccm/system/authentication/oauth2/facebook/attempt_detach'); ?>" class="btn btn-primary btn-facebook">
        <i class="fab fa-facebook"></i>
        <?= t('Detach your %s account', t('facebook')) ?>
    </a>
</div>

<style>
    .ccm-ui .btn-facebook {
        border-width: 0px;
        background: #3b5998;
    }
    .btn-facebook .fa-facebook {
        margin: 0 6px 0 3px;
    }
</style>
