<div class="card card-dark">
  <form action="../config/editproduk.php" method="post" enctype="multipart/form-data">
    <div class="card-body bg-dark">
          
      <div class="form-group">
        <label>ID Produk</label>
        <input type="text" class="form-control" name="id_produk" id="edit_id" readonly required>
      </div>

      <div class="form-group">
        <label>Upload Gambar (Kosongkan jika tidak ingin ganti)</label>
        <input type="file" class="form-control" name="gambar" accept="image/*">
      </div>
      
      <div class="form-group">
        <label>Nama Produk</label>
        <input type="text" class="form-control" name="nama" id="edit_nama" required>
      </div>

      <div class="form-group">
        <label>Deskripsi</label>
        <input type="text" class="form-control" name="deskripsi" id="edit_deskripsi" required>
      </div>

      <div class="form-group">
        <label>Stok</label>
        <input type="number" class="form-control" name="stok" id="edit_stok" required>
      </div>

      <div class="form-group">
        <label>Harga</label>
        <input type="number" class="form-control" name="harga" id="edit_harga" required>
      </div>

    </div>
    <div class="card-footer">
      <button type="submit" class="btn btn-primary">Simpan</button>
      <button type="button" class="btn btn-secondary" data-dismiss="modal">Batal</button>
    </div>
  </form>
</div>
