{{-- Slots (Blade Components Slots): https://laravel.com/docs/9.x/blade#slots --}} {{-- Rendering Components: https://laravel.com/docs/9.x/blade#rendering-components --}} {{-- class="p-10" is passed in to the Blade Component using Component Attributes: https://laravel.com/docs/9.x/blade#component-attributes --}} {{--
--}}

Edit

Edit: {{ $listing->title }}

{{-- this will hit the put() method of the /listings/{listing} route to hit the update() method in ListingController.php --}} {{-- Whenever you have a file field (file upload/uploading files), you must include the attribute enctype="multipart/form-data" --}} @csrf @method('PUT') {{-- HTML -s can't make PUT, PATCH, or DELETE requests, so you need to add a hidden _method field to spoof these HTTP verbs, using @method() Blade directive --}} {{-- Method Field: https://laravel.com/docs/9.x/blade#method-field --}}
{{-- Displaying the Validation Errors using @error @enderror Blade directive --}} @error('company')

{{ $message }}

{{-- Tailwind CSS classes --}} {{-- $message is a predefined error message by Laravel and changes according to the Validation Rules you have specified in the store() method in the ListingController --}} @enderror
{{-- Displaying the Validation Errors using @error @enderror Blade directive --}} @error('title')

{{ $message }}

{{-- Tailwind CSS classes --}} {{-- $message is a predefined error message by Laravel and changes according to the Validation Rules you have specified in the store() method in the ListingController --}} @enderror
{{-- Displaying the Validation Errors using @error @enderror Blade directive --}} @error('location')

{{ $message }}

{{-- Tailwind CSS classes --}} {{-- $message is a predefined error message by Laravel and changes according to the Validation Rules you have specified in the store() method in the ListingController --}} @enderror
{{-- Displaying the Validation Errors using @error @enderror Blade directive --}} @error('email')

{{ $message }}

{{-- Tailwind CSS classes --}} {{-- $message is a predefined error message by Laravel and changes according to the Validation Rules you have specified in the store() method in the ListingController --}} @enderror
{{-- Displaying the Validation Errors using @error @enderror Blade directive --}} @error('website')

{{ $message }}

{{-- Tailwind CSS classes --}} {{-- $message is a predefined error message by Laravel and changes according to the Validation Rules you have specified in the store() method in the ListingController --}} @enderror
{{-- Displaying the Validation Errors using @error @enderror Blade directive --}} @error('tags')

{{ $message }}

{{-- Tailwind CSS classes --}} {{-- $message is a predefined error message by Laravel and changes according to the Validation Rules you have specified in the store() method in the ListingController --}} @enderror
{{-- show the logo image, if exists. If it doesn't, show a default image --}} {{-- Displaying the Validation Errors using @error @enderror Blade directive --}} @error('logo')

{{ $message }}

{{-- Tailwind CSS classes --}} {{-- $message is a predefined error message by Laravel and changes according to the Validation Rules you have specified in the store() method in the ListingController --}} @enderror
{{-- Displaying the Validation Errors using @error @enderror Blade directive --}} @error('description')

{{ $message }}

{{-- Tailwind CSS classes --}} {{-- $message is a predefined error message by Laravel and changes according to the Validation Rules you have specified in the store() method in the ListingController --}} @enderror
@error('images.*')
{{ $message }}
@enderror
Back