@if ($multiple)
@if ($withLabel)
{{ $title }} @if ($required && $value->isEmpty()) {!! $required ? "
*
" : "" !!} @endif
@endif
merge(["class" => "form-control tooltips"])}} title="{{ $tooltip }}" @if ($required && $value->isEmpty()) {{ "required" }} @endif accept="{{ $accept }}" >
@if ($value->isNotEmpty())
{{ __("global.previewX",["X" => $title]) }}
@foreach ($value as $file)
@if (!($required && $value->count() == 1))
@endif @if ($type == "file")
@endif
@endforeach
@endif @else
@if ($withLabel)
{{ $title }} @if ($required && !$isExists) {!! $required ? "
*
" : "" !!} @endif
@endif
merge(["class" => "form-control tooltips"])}} title="{{ $tooltip }}" @if ($required && !$isExists) {{ "required" }} @endif accept="{{ $accept }}">
@if ($isExists)
{{ __("global.previewX",["X" => $title]) }}
@if (!$required)
@endif {{--
--}}
@endif @endif