@extends('admin.templates.panel-form-template') @section('title') @if(isset($item)) {{__("Edit gallery")}} [{{$item->title}}] @else {{__("Add new gallery")}} @endif - @endsection @section('form')
@include('components.err')

{{__("Tips")}}

  • {{__("You can add images after create gallery")}}
  • {{__("You can choose more than image to upload")}}
  • {{__("We recommending add title each images")}}
@if (isset($item))

{{__("Index image")}}

{{$item->title}}
@endif

@if(isset($item)) {{__("Edit gallery")}} [{{$item->title}}] @else {{__("Add new gallery")}} @endif

@endsection @section('out-of-form') @if (isset($item)) @if($item->images->count() > 0)
{{__("Images")}}
@csrf
@foreach($item->images as $img)
@if(config('app.xlang')) @endif
@endforeach

@endif
@csrf
{{__("Upload new images")}}
@endif @endsection