@extends('admin.layouts.app') @section('content')

Products

@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif @if(session()->has('error_message'))
{{ session()->get('error_message') }}
@endif

Edit

{{ csrf_field() }} {{ method_field('put') }}
{{--
--}}

@if($product->twitterbanner) twitterbanner) }}" class="thumbnail" style="width: 24%;margin-bottom: 12px;"> @endif

@if($product->facebookbanner) facebookbanner) }}" class="thumbnail" style="width: 24%;margin-bottom: 12px;"> @endif

@if($product->front_image) front_image) }}" class="thumbnail" style="width: 24%;margin-bottom: 12px;"> @endif

@if($product->back_image_alt) back_image) }}" class="thumbnail" style="width: 24%;margin-bottom: 12px;"> @endif


Gallery Image *
@foreach($product_image as $pi)
@if($pi->image) image) }}" class="thumbnail" style="width: 24%;margin-bottom: 12px;"> @endif
@endforeach
@endsection @push('scripts') @endpush