<!-- <div class="content-wrapper" ng-if="!myAccess.shoutoutList">
    <div class="container-fluid">
        <div class="row">
            <div class="col-sm-6 offset-sm-1 offset-md-2 offset-lg-3 mt-5">
                <div class="alert alert-warning alert-dismissible">
                    <h5><i class="icon fas fa-ban"></i> 	!</h5>
                    Unauthorised Access.
                </div>
            </div>
        </div>
    </div>
</div> -->
<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-indigo">
                        <go-back/>
                        <i class="fas fa-envelope"></i> {{createButton.heading}}
                    </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"><a ng-href="{{baseurl}}/shoutout/heroshoutoutlist">Shout Out</a></li>
                        <li class="breadcrumb-item active">Add</li>
                    </ol>
                </div>
            </div>
        </div><!-- /.container-fluid -->
    </section>

    <!-- Main content -->
    <section class="content">
        <div class="row">
            <div class="col-sm-12">
                <div class="card card-indigo card-outline">
                    <div class="card-body">
                        <div class="row">
                            <div class="col-sm-12 col-md-6">
                                <div class="form-group">
                                    <div class="custom-control custom-switch custom-switch-off-danger custom-switch-on-success">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label for="emp_to">To</label>
                                   <!-- <input type="text" id="emp_to" class="form-control" $scope.$root.gUser.id ng-model="shouts.emp_to" placeholder="To">-->
									<select id="emp_to" class="form-control custom-select"
                                            ng-model="shouts.emp_to" ng-options="l.id as (l.emp_first_name+' '+l.emp_last_name) for l in heroOptions" >
                                 </select>
                                </div>
								<div class="form-group">
                                    <label for="created_at">Date</label>
                                   <input type=text date-picker
                                           placeholder='Shout On(YYYY-MM-DD)'
                                           dateformat='dd-mm-yy'
                                           default='shouts.created_at' 
                                           class='form-control' id="created_at"
                                           ng-model='shouts.created_at'>
                                </div>
							
                                
								<div class="form-group">
                                    <label for="image_url">Image Upload</label>
								<input type="file" file-model="shouts.image_url" id="image_url"  class="form-control fileinput">
								</div>
                                <div class="form-group">
                                    <label for="shout_data">Because</label>
                                    <textarea class="form-control" rows="2" id="shout_data" ng-model="shouts.shout_data" placeholder="Because"></textarea>
                                </div>								
                            </div>
                            </div>
                        </div>
                    </div>
                    <div class="card-footer">
                        <div class="col-12">
                            <button type="button" class="btn btn-secondary" data-toggle="modal" data-target="#modal-default">Cancel</button>
                            <button type="submit" ng-click="createAppreciation()" class="btn btn-success float-right">
                                <i class="fas {{createButton.icon}}"></i> {{createButton.text}}
                            </button>
                        </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" data-dismiss="modal">Close</button>
                    <button type="button" class="btn btn-indigo" data-dismiss="modal" ng-click="goTo($event,'appreciationList')">Proceed</button>
                </div>
            </div>
        </div>
    </div>
</div>
