<div class="modal" id="modal-form" tabindex="-1" role="dialog" aria-hidden="true" data-backdrop="static">
   <div class="modal-dialog modal-md">
      <div class="modal-content">
     
   <form class="form-horizontal" data-toggle="validator" method="post">
   {{ csrf_field() }} {{ method_field('POST') }}
   
   <div class="modal-header">
      <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true"> &times; </span> </button>
      <h4 class="modal-title">Form Gudang</h4>
   </div>
            
<div class="modal-body">
   
   <div style="padding:5px 40px;">
       
    <input type="hidden" id="id" name="id">
   
    <div class="form-group">
        <label>Kode Gudang</label>
        <input id="kode" type="text" class="form-control" name="kode" maxlength="3" minlength="3" autofocus required autocomplete="off">
        <small class="text-muted">Kode Gudang 3 Karakter</small>
    </div>

    <div class="form-group">
        <label>Nama Gudang</label>
        <input id="nama" type="text" class="form-control" name="nama" autofocus required autocomplete="off">
        <small class="text-muted">Nama Gudang</small>
    </div>

    <div class="form-group">
        <label>Alamat</label>
        <input id="alamat" type="text" class="form-control" name="alamat" autofocus autocomplete="off">
        <small class="text-muted">Alamat Gudang</small>
    </div>

    <div class="form-group">
        <label>Gudang Utama ?</label>
        <select id="utama" name="utama" type="text" class="form-control" required autofocus>
            <option value="0">TIDAK</option>
            <option value="1">YA</option>
        </select>
        <small class="text-muted">Status sebagai Gudang Utama</small>
    </div>
   
</div>
   
   <div class="modal-footer">
      <button id="submit-control" type="submit" class="btn btn-primary btn-save"><i class="fa fa-floppy-o"></i> Save </button>
      <button type="button" class="btn btn-warning" data-dismiss="modal"><i class="fa fa-arrow-circle-left"></i> Cancel</button>
   </div>
      
   </form>
            </div>
         </div>
      </div>
   </div>
