<div class="modal inmodal" id="addPermissionGroup" tabindex="-1" role="dialog">

    <div class="modal-dialog">

        <div class="modal-content animated fadeIn">

            <div class="modal-header">

                <button type="button" class="close" data-dismiss="modal"><span>×</span><span class="sr-only">Close</span></button>

                <h4 class="modal-title">Add New Permission Group</h4>

            </div>

            <form class="form-horizontal" action="{{route('permission-group-add')}}" method="post" id="permission-group-form">

            <div class="modal-body">

                @include('partials.error')

                    
                    {{csrf_field()}}

                     <div class="form-group">

                        <label class="col-lg-4 control-label">Group Name</label>

                        <div class="col-lg-8">

                            <input type="text" class="form-control" name="group_name" value="{{old('group_name')}}" required="">

                        </div>

                    </div>
                    <div class="form-group">

                        <label class="col-lg-4 control-label">Group Description</label>

                        <div class="col-lg-8">

                            <textarea name="group_desc" class="form-control">{{old('group_desc')}}</textarea>

                        </div>

                    </div>
                     <div class="form-group">

                        <label class="col-lg-4 control-label">Group Order Number</label>

                        <div class="col-lg-8">

                            <input type="number" value="0" class="form-control" name="group_order" value="{{old('group_order')}}" required>

                        </div>

                    </div>  

            </div>

            <div class="modal-footer">

                <button type="button" class="btn btn-link" data-dismiss="modal">Cancel</button>

                <button type="submit" class="btn btn-primary" id="submit_permission_group">Save</button>

            </div>
            </form>

        </div>

    </div>

</div>