@extends('layouts.app')

@section('content')

<div class="card my-4">
    <div class="card-header">
        Create Product
    </div>
    <div class="card-body">
        <form action="{{ route('product.store') }}" method="post">
            @csrf
            <div class="form-group">
                <label for="name">Name</label>
                <input type="text" class="form-control" id="name" name="name">
            </div>
            
            <div class="form-group">
                <label for="brand">Brand</label>
                <input type="text" class="form-control" id="brand" name="brand">
            </div>
            
            <div class="form-group">
                <label for="price">Price</label>
                <input type="number" class="form-control" id="price" name="price">
                
            </div>
            
            <button type="submit" class="btn btn-primary btn-block">Save</button>

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

@endsection
comments powered by Disqus