@extends('iqec.layouts.app')

@section('content')
    <div class="container-fluid">
        <div class="row page-titles">
            <ol class="breadcrumb">
                <li class="breadcrumb-item"><a href="{{ route('courseware-categories.index') }}">Categories</a></li>
                <li class="breadcrumb-item active"><a href="javascript:void(0)">Add</a></li>
            </ol>
        </div>
        @include('iqec.partials.flash')
        <div class="card">
            <div class="card-header"><h4 class="card-title">Add Category</h4></div>
            <div class="card-body">
                <form action="{{ route('courseware-categories.store') }}" method="POST">
                    @csrf
                    @include('iqec.courseware-categories._form')
                    <button type="submit" class="btn btn-primary">Submit</button>
                    <a href="{{ route('courseware-categories.index') }}" class="btn btn-light">Cancel</a>
                </form>
            </div>
        </div>
    </div>
@endsection
