@extends('layouts.app')
@section('content')
<!--breadcrumb-->
<div class="page-breadcrumb d-none d-sm-flex align-items-center mb-3">
    <div class="breadcrumb-title pe-3">MOC create</div>
    <div class="ps-3">
        <nav aria-label="breadcrumb">
            <ol class="breadcrumb mb-0 p-0">
                <li class="breadcrumb-item"><a href="javascript:;">
                    {{-- <i class="bx bx-home-alt"></i> --}}
                </a>
                </li>
                <li class="breadcrumb-item active" aria-current="page">MOC</li>
            </ol>
        </nav>
    </div>
</div>
<!--end breadcrumb-->
<div class="row">
    <div class="col-lg-12 mx-auto">
        <div class="card">
            <div class="card-header px-4 py-3">
                <div class="row">
                    <div class="col-lg-10"></div>
                    <div class="col-lg-2"><button value="Back" type="Button" onclick="history.go(-1);" class="btn btn-grd btn-grd-branding px-5 btn-sm">Back</button></div>
                </div>
            </div>
            <div class="card-body p-4">
                <form id="jQueryValidationForm" action="{{ route('admin/moc/store') }}" method="post">
                    @csrf
                    <div class="row mb-3">
                        <label for="input35" class="col-sm-3 col-form-label">Enter MOC Name</label>
                        <div class="col-sm-9">
                            <input type="text" class="form-control" id="input35" name="mocname" value="{{ old('mocname') }}">
                            @error('mocname')
                                <span class="text-danger">{{ $message }}</span>
                            @enderror
                        </div>
                    </div>
                    <div class="row mb-3">
                        <label for="input35" class="col-sm-3 col-form-label">Enter MOC Value</label>
                        <div class="col-sm-9">
                            <input type="text" class="form-control" id="input35" name="mocvalue" value="{{ old('mocvalue') }}" onkeypress="return /[0-9/+/ /.]/i.test(event.key)">
                            @error('mocvalue')
                                <span class="text-danger">{{ $message }}</span>
                            @enderror
                        </div>
                    </div>
                    <div class="row">
                        <label class="col-sm-3 col-form-label"></label>
                        <div class="col-sm-9">
                            <div class="d-md-flex d-grid align-items-center gap-3">
                                <button type="submit" class="btn btn-grd-primary px-4">Submit</button>
                            {{-- <button type="reset" class="btn btn-grd-info px-4">Reset</button> --}}
                            </div>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
<!--end row-->
@endsection

