tambah.blade.php
@extends('layouts.master') @section('content') <div class="row"> <div class="col-lg-12"> <div class="card shadow"> <div class="card-header"> <h6 class="m-0 font-weight-bold text-primary">Form Tambah</h6> </div> <!-- Card Body --> <div class="card-body"> <form method="post" action="/admin/barang/simpan"> @csrf <div class="form-group"> Kode Barang <input type="text" class="form-control" name="kode" required> </div> <div class="form-group"> Nama Barang <input type="text" class="form-control" name="nama" required> </div> <div class="form-group"> Stok <input type="text" class="form-control" name="stok" required> </div> <div class="form-group"> <button type="submit" class="btn btn-primary btn-lg"> <i class="fa fa-save"></i> SIMPAN</button> </div> </form> </div> </div> </div> </div> @endsection
Leave a Comment