@php
if($reference){
$getReferenceWidget = \App\Models\ReferenceWidget::find($reference->id);
$selectedLanguage = $getReferenceWidget->page ? $getReferenceWidget->page->lang_id : $getReferenceWidget->article->lang_id;
}else {
$selectedLanguage = 1;
}
@endphp
@error('reference_heading')
{{ $message }}
@enderror
@error('reference_description')
{{ $message }}
@enderror
@error('reference_redirect_url')
{{ $message }}
@enderror
@php
$getAds = App\Models\AdsWindow::where('status', true)->get();
@endphp
@error('type')
{{ $message }}
@enderror