<script type="text/javascript">
    $(".modal-title").text("Add new Event Type");
</script>
{!! Form::open(['url'=>'event-type','id'=>'myForm','novalidate'=>'']) !!}
<div class="content">
    <div class="row">
        <div class="col-md-12">
            <div class="form-group">
                <label class="control-label">Title <star>*</star></label>
                <input class="form-control" name="title" required="true"  type="text"  placeholder="Leave type Title"/>
            </div>
            <div class="form-group">
                <label class="control-label">Office Status <star>*</star></label>
                <input type="radio" required="true" name="office_status" id="open" value="1"><label for="open">Open</label> &nbsp;
                <input type="radio" required="true" name="office_status" value="0" id="close" checked><label for="close">Close</label>
            </div>
            <div class="form-group">
                <label class="control-label">Effect on employee's holiday ?</label>
                <div class="form-group">
                    <input type="radio" name="holiday_count" value="1" id="yes"><label for="yes">Yes</label>
                    <input type="radio" name="holiday_count" value="0" id="no"><label for="no">No</label>
                </div>
            </div>
        </div>

    </div>
</div>

<div class="footer">
    <button type="submit" class="btn btn-info btn-fill pull-right">SAVE</button>
    <button type="button" class="btn btn-default btn-simple pull-right" data-dismiss="modal">Close</button>
    <div class="clearfix"></div>
</div>
{!! Form::close() !!}
<script type="text/javascript">
    $().ready(function() {

        $('#myForm').validate();
    });
</script>