@section('site_title', formatTitle([__('New'), __('Image'), config('settings.title')])) @include('shared.breadcrumbs', ['breadcrumbs' => [ ['url' => route('dashboard'), 'title' => __('Home')], ['url' => route('images'), 'title' => __('Images')], ['title' => __('New')], ]])

{{ __('New') }}

{{ __('Image') }}
@include('shared.message')
@csrf
@if ($errors->has('name')) {{ $errors->first('name') }} @endif {{ __('The name of the image.') }}
@if ($errors->has('description')) {{ $errors->first('description') }} @endif {{ __('The description of the image.') }}
@if ($errors->has('style')) {{ $errors->first('style') }} @endif {{ __('The style of the image.') }}
@if ($errors->has('medium')) {{ $errors->first('medium') }} @endif {{ __('The medium of the image.') }}
@if ($errors->has('filter')) {{ $errors->first('filter') }} @endif {{ __('The filter of the image.') }}
@if ($errors->has('resolution')) {{ $errors->first('resolution') }} @endif {{ __('The resolution of the image.') }}
@include('templates.partials.common-inputs')
{{ __('Reset') }}
@if(isset($images)) {{ __('Show form') }} @endif
@if(isset($images))
@foreach($images as $image)
@include('templates.partials.image-result', ['image' => $image])
@endforeach
@endif
{{ __('Start by filling the form.') }}
{{ __('Generating the content, please wait.') }}