@extends('admin.layouts.master') @section('title') Add Media @endsection @section('css') @endsection @section('content') @if ($errors->any()) @endif

Add Media

{{--
--}}

Add Media

@csrf
@if ($errors->has('name')) {{ $errors->first('name') }} @endif
@if ($errors->has('description')) {{ $errors->first('description') }} @endif
@if ($errors->has('images')) {{ $errors->first('images') }} @endif @if (count($errors->get('images.*'))) @php $test = 1; @endphp @foreach ($errors->get('images.*') as $errors) @foreach ($errors as $error) @if ($test == 1) {{ $error }}
@endif @php $test++; @endphp @endforeach @endforeach @endif
{{-- @if ($errors->has('category_id')) {{ $errors->first('category_id') }} @endif --}}
{{-- @if ($errors->has('is_active')) {{ $errors->first('is_active') }} @endif --}}

@endsection @section('scripts') @endsection