<div class="row">
    <div class="col-sm-12 title-section">
        <h3><?= trans('social_login_settings'); ?></h3>
    </div>
</div>

<div class="row">
    <div class="col-lg-6 col-md-12">
        <div class="box box-primary">
            <div class="box-header with-border">
                <h3 class="box-title"><?= trans('facebook'); ?></h3>
            </div>
            <form action="<?= base_url('Admin/socialLoginSettingsPost'); ?>" method="post">
                <?= csrf_field(); ?>
                <div class="box-body">
                    <div class="form-group">
                        <label class="label-sitemap"><?= trans('app_id'); ?></label>
                        <input type="text" class="form-control" name="facebook_app_id" placeholder="<?= trans('app_id'); ?>" value="<?= esc($generalSettings->facebook_app_id); ?>">
                    </div>
                    <div class="form-group">
                        <label class="label-sitemap"><?= trans('app_secret'); ?></label>
                        <input type="text" class="form-control" name="facebook_app_secret" placeholder="<?= trans('app_secret'); ?>" value="<?= esc($generalSettings->facebook_app_secret); ?>">
                    </div>
                    <div class="box-footer" style="padding-left: 0; padding-right: 0;">
                        <button type="submit" name="submit" value="facebook" class="btn btn-primary pull-right"><?= trans('save_changes'); ?></button>
                    </div>
                </div>
            </form>
        </div>
    </div>

    <div class="col-lg-6 col-md-12">
        <div class="box box-primary">
            <div class="box-header with-border">
                <h3 class="box-title"><?= trans('google'); ?></h3>
            </div>
            <form action="<?= base_url('Admin/socialLoginSettingsPost'); ?>" method="post">
                <?= csrf_field(); ?>
                <div class="box-body">
                    <div class="form-group">
                        <label class="label-sitemap"><?= trans('client_id'); ?></label>
                        <input type="text" class="form-control" name="google_client_id" placeholder="<?= trans('client_id'); ?>" value="<?= esc($generalSettings->google_client_id); ?>">
                    </div>
                    <div class="form-group">
                        <label class="label-sitemap"><?= trans('client_secret'); ?></label>
                        <input type="text" class="form-control" name="google_client_secret" placeholder="<?= trans('client_secret'); ?>" value="<?= esc($generalSettings->google_client_secret); ?>">
                    </div>
                    <div class="box-footer" style="padding-left: 0; padding-right: 0;">
                        <button type="submit" name="submit" value="google" class="btn btn-primary pull-right"><?= trans('save_changes'); ?></button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>

<div class="row">
    <div class="col-lg-6 col-md-12">
        <div class="box box-primary">
            <div class="box-header with-border">
                <h3 class="box-title"><?= trans('vkontakte'); ?></h3>
            </div>
            <form action="<?= base_url('Admin/socialLoginSettingsPost'); ?>" method="post">
                <?= csrf_field(); ?>
                <div class="box-body">
                    <div class="form-group">
                        <label class="label-sitemap"><?= trans('app_id'); ?></label>
                        <input type="text" class="form-control" name="vk_app_id" placeholder="<?= trans('app_id'); ?>" value="<?= esc($generalSettings->vk_app_id); ?>">
                    </div>
                    <div class="form-group">
                        <label class="label-sitemap"><?= trans('secure_key'); ?></label>
                        <input type="text" class="form-control" name="vk_secure_key" placeholder="<?= trans('secure_key'); ?>" value="<?= esc($generalSettings->vk_secure_key); ?>">
                    </div>
                    <div class="box-footer" style="padding-left: 0; padding-right: 0;">
                        <button type="submit" name="submit" value="vk" class="btn btn-primary pull-right"><?= trans('save_changes'); ?></button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>

<style>
    h4 {
        color: #0d6aad;
        text-align: left;
        font-weight: 600;
        margin-bottom: 15px;
        margin-top: 30px;
    }
</style>