@php $image_types = getAllImageTypes(); $placeholder_info = getPlaceHolderImage(); $placeholder_image = ''; $placeholder_image_alt = ''; if ($placeholder_info != null) { $placeholder_image = $placeholder_info->placeholder_image; $placeholder_image_alt = $placeholder_info->placeholder_image_alt; } @endphp @extends('core::base.layouts.master') @section('title') {{ translate('Media Settings') }} @endsection @section('custom_css') @endsection @section('main_content')

{{ translate('Media Settings') }}

@csrf
@if ($errors->has('file_storage'))
{{ $errors->first('file_storage') }}
@endif
@if ($errors->has('aws_access_key_id'))
{{ $errors->first('aws_access_key_id') }}
@endif
@if ($errors->has('aws_secret_access_key'))
{{ $errors->first('aws_secret_access_key') }}
@endif
@if ($errors->has('aws_default_region'))
{{ $errors->first('aws_default_region') }}
@endif
@if ($errors->has('aws_bucket'))
{{ $errors->first('aws_bucket') }}
@endif
@if ($errors->has('aws_endpoint'))
{{ $errors->first('aws_endpoint') }}
@endif
@include('core::base.includes.media.media_input', [ 'input' => 'placeholder_image', 'data' => $data['placeholder_image_id'], ]) @if ($errors->has('placeholder_image'))
{{ $errors->first('placeholder_image') }}
@endif
@include('core::base.media.partial.media_modal')
@endsection @section('custom_scripts') @endsection