Images
{{-- meaning Product images --}}Add Images
{{-- Our Bootstrap error code in case of wrong current password or the new password and confirm password are not matching: --}} {{-- Determining If An Item Exists In The Session (using has() method): https://laravel.com/docs/9.x/session#determining-if-an-item-exists-in-the-session --}} @if (Session::has('error_message'))
Error: {{ Session::get('error_message') }}
@endif
{{-- Displaying Laravel Validation Errors: https://laravel.com/docs/9.x/validation#quick-displaying-the-validation-errors --}}
@if ($errors->any())
@foreach ($errors->all() as $error)
{{ $error }}
@endforeach
@endif
{{-- Displaying The Validation Errors: https://laravel.com/docs/9.x/validation#quick-displaying-the-validation-errors AND https://laravel.com/docs/9.x/blade#validation-errors --}}
{{-- Determining If An Item Exists In The Session (using has() method): https://laravel.com/docs/9.x/session#determining-if-an-item-exists-in-the-session --}}
{{-- Our Bootstrap success message in case of updating admin password is successful: --}}
@if (Session::has('success_message'))
Success: {{ Session::get('success_message') }}
@endif
Product Images
{{-- DataTable --}}ID | Image | Actions |
---|---|---|
{{ $image['id'] }} | {{-- Small --}} {{-- Medium --}} {{-- Large --}} | @if ($image['status'] == 1) {{-- Using HTML Custom Attributes. Check admin/js/custom.js --}} {{-- Icons from Skydash Admin Panel Template --}} @else {{-- if the admin status is inactive --}} {{-- Using HTML Custom Attributes. Check admin/js/custom.js --}} {{-- Icons from Skydash Admin Panel Template --}} @endif {{-- Check admin/js/custom.js and web.php (routes) --}} {{-- Icons from Skydash Admin Panel Template --}} |