@extends('tablar::page')

@section('content')
<div class="page-header d-print-none">
    <div class="container-xl">
        <div class="row g-2 align-items-center">
            <div class="col">
                <h2 class="page-title">Manage Items</h2>
            </div>
        </div>
    </div>
</div>

<div class="page-body">
    <div class="container-xl">
        <div class="row row-cards">
            <div class="col-12">
                <div class="card">
                    <div class="card-body">
                        <form method="POST" action="/items" class="row g-3">
                            {{ csrf_field() }}
                            
                            <div class="col-md-4">
                                <label for="itemnum" class="form-label">Item Number</label>
                                <input type="text" name="itemnum" id="itemnum" class="form-control" required>
                            </div>
                            
                            <div class="col-md-8">
                                <label for="itemdesc" class="form-label">Description</label>
                                <input type="text" name="itemdesc" id="itemdesc" class="form-control" required>
                            </div>

                            <div class="col-12">
                                <button type="submit" class="btn btn-primary">Add Item</button>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
@endsection
@push('js')
@endpush
