<div class="modal fade" id="createEmploymentstatus" role="dialog">
    <div class="modal-dialog">
    
      <!-- Modal content-->
      <div class="modal-content">
        <div class="modal-header">
          <button type="button" class="close" data-dismiss="modal">&times;</button>
          <h4 class="modal-title">Employment Status</h4>
        </div>
        <div class="modal-body">
            <form id="employmentstatus_form" method="post" action="{{ route('status.store') }}" enctype="multipart/form-data" class="form-inline" style="padding-top:10px;"> 
            {{ csrf_field() }}
                <div class=form-group style="padding-left:20px;width=30%">     
                    <p>Employment Status Code<span>*</span></p>	
                    <input name="employment_status_code" type="text" class="form-control" id="employment_status_code" style="border-radius: 0px 5px 5px 0px;border: 1px solid #eee;margin-bottom: 15px;width: 15em;height: 30px;float: left;padding: 0px 15px;"
                    required>
                </div>
                <div class=form-group style="padding-left:20px;width=30%">     
                    <p>Employment Status<span>*</span></p>	
                    <input name="employment_status" type="text" class="form-control" id="employment_status" style="border-radius: 0px 5px 5px 0px;border: 1px solid #eee;margin-bottom: 15px;width: 15em;height: 30px;float: left;padding: 0px 15px;"
                    required>
                </div>
            </form> 
        </div>
        <div class="modal-footer">
            <button type="button" onclick="form_submit()" class="btn btn-primary">Save </button>
            <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
        </div>
      </div>
      
    </div>
</div>
<script type="text/javascript">
function form_submit() {
  document.getElementById("employmentstatus_form").submit();
 }
</script>
  