<div class="content-wrapper">
    <section class="content-header">
        <div class="container-fluid">
            <div class="row mb-2">
                <div class="col-sm-6">
                    <h1 class="text-gray-dark">
                        <go-back/>
                        <i class="fas fa-key"></i> Change Password
                    </h1>
                </div>
                <div class="col-sm-6">
                    <ol class="breadcrumb float-sm-right">
                        <li class="breadcrumb-item"><a ng-href="{{baseurl}}/dashboard">Home</a></li>
                        <li class="breadcrumb-item active">Change Password</li>
                    </ol>
                </div>
            </div>
        </div><!-- /.container-fluid -->
    </section>
    <section class="content">
        <div class="container-fluid">
            <div class="row">
                <div class="col-sm-6">
                    <div class="card card-primary card-outline">
                    <div class="card-body">
                        <div class="col-sm-12">
                            <div class="form-group">
                                <label for="emp_old_password">Current Password</label>
                                <input type="text" id="emp_old_password" class="form-control" required="required" ng-model="data.emp_old_password" placeholder="Current Password">
                            </div>
                            <div class="form-group">
                                <label for="emp_password">New Password</label>
                                <input type="text" id="emp_password" class="form-control" required="required" ng-model="data.emp_password" placeholder="Password">
                            </div>
                            <div class="form-group">
                                <label for="emp_confirmpassword">Current Password</label>
                                <input type="text" id="emp_confirmpassword" class="form-control" required="required" ng-model="data.emp_confirmpassword" placeholder="Confirm Password">
                            </div>
                        </div>
                    </div>
                    <div class="card-footer">
                        <div class="col-12">
                            <button type="button" class="btn btn-secondary btn-xs" data-toggle="modal" data-target="#modal-default">Cancel</button>
                            <button type="submit" ng-click="changePassword()" class="btn btn-success float-right"><i class="fas fa-key"></i> Change Password</button>
                        </div>
                    </div>
                </div>
                </div>
            </div>
        </div>
    </section>
    <div class="modal fade" id="modal-default">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-body">
                    <p>Are you sure to leave this page!</p>
                </div>
                <div class="modal-footer justify-content-between">
                    <button type="button" class="btn btn-default btn-xs" data-dismiss="modal">Close</button>
                    <button type="button" class="btn btn-primary btn-xs" data-dismiss="modal" ng-click="goToSelf('dashboard')">Proceed</button>
                </div>
            </div>
        </div>
    </div>
</div>
