<div id="AddModal" class="modal fade" role="dialog" tabindex="-1">
    <div class="modal-dialog">
        <!-- Modal content-->
        <div class="modal-content">
            <div class="modal-header">
                <h5 class="modal-title">New Activity Type</h5>
                <button type="button" aria-label="Close" class="close" data-dismiss="modal">×</button>
            </div>
            <?php echo Form::open(['id'=>'addNewForm']); ?>

            <div class="modal-body">
                <div class="alert alert-danger" id="validationErrorsBox" style="display: none"></div>
                <div class="row">
                    <div class="form-group col-sm-12">
                        <?php echo Form::label('name', 'Activity Type'); ?><span class="required">*</span>
                        <?php echo Form::text('name', null, ['id'=>'name','class' => 'form-control','required']); ?>

                    </div>
                </div>
                <div class="text-right">
                    <?php echo Form::button('Save', ['type'=>'submit','class' => 'btn btn-primary','id'=>'btnSave','data-loading-text'=>"<span class='spinner-border spinner-border-sm'></span> Processing..."]); ?>

                    <button type="button" id="btnCancel" class="btn btn-light ml-1" data-dismiss="modal">Cancel</button>
                </div>
            </div>
            <?php echo Form::close(); ?>

        </div>
    </div>
</div>
<?php /**PATH /Users/dev/Documents/WebDevProjects/infy-tracker/resources/views/activity_types/modal.blade.php ENDPATH**/ ?>