<div class="modal" id="modal-form" tabindex="-1" role="dialog" aria-hidden="true" data-backdrop="static">
   <div class="modal-dialog modal-lg">
      <div class="modal-content">
     
<form class="form-horizontal" data-toggle="validator" method="post">
{{ csrf_field() }} {{ method_field('POST') }}
   
    <div class="modal-header bg-olive">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true"> &times; </span> </button>
        <h6 class="modal-title">Form User</h6>
    </div>
            
    <div class="modal-body">
       
        <input type="hidden" id="id" name="id">
       
        <div class="form-group">
            <label for="nama" class="col-md-3 control-label">Nama User</label>
            <div class="col-md-6">
                <input id="nama" type="text" class="form-control" name="nama" autocomplete="off" autofocus required>
                <span class="help-block with-errors"></span>
            </div>
        </div>
    
        <div class="form-group">
            <label for="email" class="col-md-3 control-label">Email</label>
            <div class="col-md-6">
                <input id="email" type="email" class="form-control" name="email" autocomplete="off" required>
                <span class="help-block with-errors"></span>
            </div>
        </div>
    
        <div class="form-group">
            <label for="password" class="col-md-3 control-label">Password</label>
            <div class="col-md-6">
                <input id="password" type="password" class="form-control" name="password" autocomplete="off" required>
                <span class="help-block with-errors"></span>
            </div>
        </div>
    
        <div class="form-group">
            <label for="password1" class="col-md-3 control-label">Ulang Password</label>
            <div class="col-md-6">
                <input id="password1" type="password" class="form-control" data-match="#password" name="password1" required>
                <span class="help-block with-errors"></span>
            </div>
        </div>
        
        <div class="form-group">
            <label for="group" class="col-md-3 control-label">Group User </label>
            <div class="col-md-3">
                <select id="group" class="form-control" name="group">
                    <option value="MANAGER">Manager</option>
                    <option value="PURCHASING">Purchasing</option>
                    <option value="FINANCE">Finance</option>
                    <option value="SALES">Sales</option>
                    <option value="ADMIN">Admin</option>
        		    <option value="IT">IT</option>
                </select>
            </div>
        </div>   
    
       
    </div>
   
    <div class="modal-footer">
        <button type="submit" class="btn btn-success btn-sm"><i class="fa fa-floppy-o"></i> Simpan </button>
        <button type="button" class="btn btn-danger  btn-sm" data-dismiss="modal"><i class="fa fa-arrow-circle-left"></i> Batal</button>
    </div>
      
</form>

        </div>
    </div>
</div>
