<!-- Container -->
<div class="container-fluid">
    <!-- Row -->
    <div class="row">
        <div class="col-xl-12 pa-0">
            <!-- Profile Heading -->
            <?php $this->load->view('profile/header'); ?>
            <!-- Profile Body -->
            <!-- Container -->
            <div class="container mt-50">
                <!-- Row -->
                <div class="row">
                    <div class="col-xl-12">
                        <div class="card">
                            <div class="card-header d-flex justify-content-between">
                                <h6 class="card-header d-flex align-items-center">
                                    <i class="fa fa-share-alt font-30 mr-10"></i>
                                    <?php echo $this->lang->line('edit'); ?> <?php echo $this->lang->line('social'); ?> <?php echo $this->lang->line('info'); ?>
                                </h6>
                                <div class="align-items-center">
                                    <a href="<?php echo site_url('dashboard'); ?>" class="btn btn-xs btn-primary">
                                        <i class="fa fa-dashboard font-12 mr-5"></i>
                                        <?php echo $this->lang->line('dashboard'); ?>
                                    </a>
                                </div>
                            </div>
                            <?php echo form_open_multipart(site_url('profile/social'), array('name' => 'profile', 'id' => 'profile', 'class' => 'needs-validation', 'novalidate' => 'novalidate'), ''); ?>
                            <div class="card-body">
                                <div class="form-row">
                                    <div class="col-md-6 mb-10">
                                        <label for="facebook_url"><?php echo $this->lang->line('facebook_url'); ?></label>
                                        <input type="text" class="form-control" name="facebook_url" id="facebook_url" value="<?php echo isset($profile->facebook_url) ?  $profile->facebook_url : ''; ?>" placeholder="<?php echo $this->lang->line('facebook_url'); ?>" required>
                                        <div class="valid-feedback">
                                            <?php echo $this->lang->line('looks_good'); ?>
                                        </div>
                                        <div class="invalid-feedback">
                                            <?php echo form_error('facebook_url'); ?>
                                        </div>
                                    </div>
                                    <div class="col-md-6 mb-10">
                                        <label for="linkedin_url"><?php echo $this->lang->line('linkedin_url'); ?></label>
                                        <input type="text" class="form-control" name="linkedin_url" id="linkedin_url" value="<?php echo isset($profile->linkedin_url) ?  $profile->linkedin_url : ''; ?>" placeholder="<?php echo $this->lang->line('linkedin_url'); ?>">
                                        <div class="valid-feedback">
                                            <?php echo $this->lang->line('looks_good'); ?>
                                        </div>
                                        <div class="invalid-feedback">
                                            <?php echo form_error('linkedin_url'); ?>
                                        </div>
                                    </div>
                                    <div class="col-md-6 mb-10">
                                        <label for="twitter_url"><?php echo $this->lang->line('twitter_url'); ?></label>
                                        <input type="text" class="form-control" name="twitter_url" id="twitter_url" value="<?php echo isset($profile->twitter_url) ?  $profile->twitter_url : ''; ?>" placeholder="<?php echo $this->lang->line('twitter_url'); ?>">
                                        <div class="valid-feedback">
                                            <?php echo $this->lang->line('looks_good'); ?>
                                        </div>
                                        <div class="invalid-feedback">
                                            <?php echo form_error('twitter_url'); ?>
                                        </div>
                                    </div>
                                    <div class="col-md-6 mb-10">
                                        <label for="instagram_url"><?php echo $this->lang->line('instagram_url'); ?></label>
                                        <input type="text" class="form-control" name="instagram_url" id="instagram_url" value="<?php echo isset($profile->instagram_url) ?  $profile->instagram_url : ''; ?>" placeholder="<?php echo $this->lang->line('instagram_url'); ?>">
                                        <div class="valid-feedback">
                                            <?php echo $this->lang->line('looks_good'); ?>
                                        </div>
                                        <div class="invalid-feedback">
                                            <?php echo form_error('instagram_url'); ?>
                                        </div>
                                    </div>
                                    <div class="col-md-6 mb-10">
                                        <label for="pinterest_url"><?php echo $this->lang->line('pinterest_url'); ?></label>
                                        <input type="text" class="form-control" name="pinterest_url" id="pinterest_url" value="<?php echo isset($profile->pinterest_url) ?  $profile->pinterest_url : ''; ?>" placeholder="<?php echo $this->lang->line('pinterest_url'); ?>">
                                        <div class="valid-feedback">
                                            <?php echo $this->lang->line('looks_good'); ?>
                                        </div>
                                        <div class="invalid-feedback">
                                            <?php echo form_error('pinterest_url'); ?>
                                        </div>
                                    </div>
                                    <div class="col-md-6 mb-10">
                                        <label for="youtube_url"><?php echo $this->lang->line('youtube_url'); ?></label>
                                        <input type="text" class="form-control" name="youtube_url" id="youtube_url" value="<?php echo isset($profile->youtube_url) ?  $profile->youtube_url : ''; ?>" placeholder="<?php echo $this->lang->line('youtube_url'); ?>">
                                        <div class="valid-feedback">
                                            <?php echo $this->lang->line('looks_good'); ?>
                                        </div>
                                        <div class="invalid-feedback">
                                            <?php echo form_error('youtube_url'); ?>
                                        </div>
                                    </div>
                                    <div class="col-md-6 mb-10">
                                        <label for="tubblr_url"><?php echo $this->lang->line('tubblr_url'); ?></label>
                                        <input type="text" class="form-control" name="tubblr_url" id="tubblr_url" value="<?php echo isset($profile->tubblr_url) ?  $profile->tubblr_url : ''; ?>" placeholder="<?php echo $this->lang->line('tubblr_url'); ?>">
                                        <div class="valid-feedback">
                                            <?php echo $this->lang->line('looks_good'); ?>
                                        </div>
                                        <div class="invalid-feedback">
                                            <?php echo form_error('tubblr_url'); ?>
                                        </div>
                                    </div>
                                    <div class="col-md-6 mb-10">
                                        <label for="skype"><?php echo $this->lang->line('skype'); ?></label>
                                        <input type="text" class="form-control" name="skype" id="skype" value="<?php echo isset($profile->skype) ?  $profile->skype : ''; ?>" placeholder="<?php echo $this->lang->line('skype'); ?>">
                                        <div class="valid-feedback">
                                            <?php echo $this->lang->line('looks_good'); ?>
                                        </div>
                                        <div class="invalid-feedback">
                                            <?php echo form_error('skype'); ?>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <!-- Card Footer -->
                            <div class="card-footer pt-0">
                                <div class="button-list">
                                    <a class="btn btn-gradient-danger" href="<?php echo site_url('dashboard'); ?>"><?php echo $this->lang->line('cancel'); ?></a>
                                    <button class="btn btn-gradient-primary" type="submit"><?php echo $this->lang->line('update'); ?></button>
                                </div>
                            </div>
                            <?php echo form_close(); ?>
                        </div>
                    </div>
                </div>
                <!-- /Row -->
            </div>
            <!-- /Container -->
        </div>
    </div>
    <!-- /Row -->
</div>
<!-- /Container -->