@include('admin.header') 
<style >label{
    font-weight: 700;
}</style>
<div class="container bg-white p-3">
    <h1>Create Knitting Type</h1>
    <form action="{{ route('admin.knitting_types.store') }}" method="POST">
        @csrf
        <div class="mb-3">
            <label for="name" class="form-label">Name</label>
            <input type="text" class="form-control" id="name" name="name" placeholder="Enter name" required>
        </div>
        <div class="mb-3">
            <label for="charge" class="form-label">Charge (USD/kg)</label>
            <input type="number" step="0.01" class="form-control" id="charge" name="charge" placeholder="Enter Charges" required>
        </div>
        <div class="mb-3">
            <label for="description" class="form-label">Description</label>
            <textarea class="form-control" id="description" name="description" placeholder="Enter Description"></textarea>
        </div>
        <div class="mb-3 form-check">
            <input type="checkbox" class="form-check-input" id="is_active" name="is_active" value="1" checked>
            <label class="form-check-label" for="is_active">Active</label>
        </div>
        <button type="submit" class="btn btn-primary">Submit</button>
    </form>
</div>
@include('admin.footer') 


