@extends('admin.layout.master') @section('content') @csrf Name: @if ($errors->has('name')) {{ $errors->first('name') }} @endif Brand: @if ($errors->has('brand')) {{ $errors->first('brand') }} @endif Style: @forelse ($clothCategories as $clothCategory) id?'selected':''}}>{{ $clothCategory->name }} @empty No Style Available @endforelse @if ($errors->has('cloth_cat_id')) {{ $errors->first('cloth_cat_id') }} @endif Material: @forelse ($clothMaterials as $clothMaterial) id?'selected':''}}>{{ $clothMaterial->name }} @empty No Material Available @endforelse @if ($errors->has('cloth_material_id')) {{ $errors->first('cloth_material_id') }} @endif UPC: @if ($errors->has('upc')) {{ $errors->first('upc') }} @endif ClO Factor: {{-- @if ($errors->has('cloth_cat_id'))--}} {{-- {{ $errors->first('cloth_cat_id') }}--}} {{-- @endif--}} Other 1: @if ($errors->has('other1')) {{ $errors->first('other1') }} @endif Other 2: @if ($errors->has('other2')) {{ $errors->first('other2') }} @endif Other 3: @if ($errors->has('other3')) {{ $errors->first('other3') }} @endif Other 4: @if ($errors->has('other4')) {{ $errors->first('other4') }} @endif Other 5: @if ($errors->has('other5')) {{ $errors->first('other5') }} @endif Submit @endsection