<div class="content-wrapper">
    <div class="container-full">
        <!-- Content Header (Page header) -->
        <div class="content-header">
            <div class="d-flex align-items-center">
                <div class="me-auto">
                    <h3 class="page-title">Account Setting</h3>
                    <div class="d-inline-block align-items-center">
                        <nav>
                            <ol class="breadcrumb">
                                <li class="breadcrumb-item"><a href="#"><i class="mdi mdi-home-outline"></i></a></li>
                                <li class="breadcrumb-item" aria-current="page">Dashboard</li>
                                <li class="breadcrumb-item active" aria-current="page">Account Setting</li>
                            </ol>
                        </nav>
                    </div>
                </div>

            </div>
        </div>

        <!-- Main content -->
        <section class="content">
            <div class="row">
                <div class="col-12 col-lg-7 col-xl-8">
                    <div class="nav-tabs-custom">
                        <ul class="nav nav-tabs">
                            <li><a class="active" href="#settings" data-bs-toggle="tab">Personal</a></li>
                            <li><a href="#activity" data-bs-toggle="tab">Password</a></li>
                        </ul>
                        <div class="tab-content">

                            <!-- /.tab-pane -->
                            <div class="active tab-pane" id="settings">

                                <div class="box no-shadow">
                                    <?php echo form_open_multipart(admin_url() . 'admin/update_student_personal_info', ['class' => 'form-horizontal form-element col-12']) ?>
                                    <div class="form-group row">
                                        <label for="inputName" class="col-sm-2 form-label">Name <span class="text-danger">*</span></label>

                                        <div class="col-sm-10">
                                            <input type="text" class="form-control" id="inputName" name="name" value="<?php echo user()->name; ?>" placeholder="" required>
                                        </div>
                                    </div>
                                    <div class="form-group row">
                                        <label for="inputEmail" class="col-sm-2 form-label">Email</label>

                                        <div class="col-sm-10">
                                            <input type="email" class="form-control" id="inputEmail" placeholder="" value="<?php echo user()->email; ?>" name="email">
                                        </div>
                                    </div>
                                    <div class="form-group row">
                                        <label for="inputPhone" class="col-sm-2 form-label">Phone</label>

                                        <div class="col-sm-10">
                                            <input type="tel" class="form-control" id="inputPhone" placeholder="" value="<?php echo user()->mobile; ?>" disabled>
                                            <small> Not Editabled</small>
                                        </div>
                                    </div>
                                    <div class="form-group row">
                                        <label for="inputExperience" class="col-sm-2 form-label">Address</label>

                                        <div class="col-sm-10">
                                            <textarea class="form-control" id="inputExperience" placeholder="" name="address"><?php echo user()->address; ?></textarea>
                                        </div>
                                    </div>

                                    <div class="form-group row">
                                        <label for="inputEmail" class="col-sm-2 form-label">Photo</label>

                                        <div class="col-sm-10">
                                            <input type="file" class="form-control" id="inputEmail" placeholder="" name="image">
                                        </div>
                                    </div>

                                    <div class="form-group row">
                                        <div class="ms-auto col-sm-10">
                                            <button type="submit" class="btn " style="background-color:#0f2449; color:#fff;">Submit</button>
                                        </div>
                                    </div>
                                    <?php echo form_close(); ?>
                                </div>
                            </div>

                            <div class=" tab-pane" id="activity">
                                <div class="box no-shadow">
                                    <?php echo form_open(admin_url() . 'admin/update_student_password_info', ['class' => 'form-horizontal form-element col-12']) ?>
                                    <div class="form-group row">
                                        <label for="inputName" class="col-sm-2 form-label">Password <span class="text-danger">*</span></label>

                                        <div class="col-sm-10">
                                            <input type="password" class="form-control" id="inputName" name="password" required>
                                        </div>
                                    </div>


                                    <div class="form-group row">
                                        <div class="ms-auto col-sm-10">
                                            <button type="submit" class="btn " style="background-color:#0f2449; color:#fff;">Submit</button>
                                        </div>
                                    </div>
                                    <?php echo form_close(); ?>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </section>
    </div>
</div>