
    <div id="training-video-modal" class="modal fade" role="dialog" style="padding-top: 50px">
        <div class="modal-dialog modal-dialog-centered">
            <!-- Modal content-->
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal">&times;</button>
                    <h4 class="modal-title">Add Training Video</h4>
                </div>
                <div class="modal-body">
                        <div class="container-fluid py-3">
                            <div class="row">
                                <div class="col-12 col-sm-8 col-md-6 col-lg-12 mx-auto">
                                    <div class="card-body">
                                        <form action="{{route('create.video')}}" method="post" id="training-video-form" class="needs-validation"  >
                                            @csrf
                                            <div class="form-row">
                                                <div class="form-group col-md-12">
                                                    <label>Section</label>

                                                    <select name="section_id"
                                                            class="form-control" >
                                                        <option value="0">---Select Section---</option>
                                                        @foreach (getSection() as $name => $value)
                                                             <option value="{{$name}}">{{$value}}</option>
                                                        @endforeach
                                                    </select>
                                                </div>
                                            </div>
                                            <div class="form-row">
                                                <div class="form-group col-md-12">
                                                    <label>Link</label>
                                                    <input id="link" name="link" type="text" placeholder="Video Link" class="form-control link"   autocomplete="off"  >
                                                </div>
                                            </div>
                                            <div class="form-row">
                                                <div class="form-group col-md-12 text-left">
                                                    <label class="lbl-dest check-btn"><input type="checkbox" name="status" value="1"  checked class="check-equ2">
                                                        IsActive<span class="cr"></span></label>
                                                </div>
                                            </div>
                                            <div class="form-row">
                                                <div class="form-group pull-right">
                                                    <button id="submit-button" type="submit"  class="btn btn-md btn-info" >
                                                        <i class="fa fa-save fa-lg"></i>&nbsp;
                                                        <span>Save</span>
                                                    </button>
                                                </div>
                                            </div>

                                        </form>
                                    </div>

                                </div>
                            </div>
                        </div>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
                </div>
            </div>

        </div>
    </div>







