@if (session()->has('success')) @endif @if ($errors->any()) @endif
{{ __('messages.Manage Social Media') }}
@foreach($contactInfos as $index => $info)
{{__("messages.Social Media")}} @error("contactInfos.{$index}.type")
{{ $message }}
@enderror
{{__("messages.Language")}}
@if($info['type'] && $info['language'])
{{ __('messages.' . $info['type'] . ' ' . $info['language']) }} {{ $this->getTypeNumber($index, $info['type'] ?? '', $info['language'] ?? '') }}
@endif
@if($index > 0) @endif
@endforeach {{-- @foreach ( $socialMedias as $socialMedia)
{{ __('messages.' . $socialMedia->name) }}
@endforeach --}} @can('social-edit')
@endcan
{{--

Contact Info

@foreach($contactInfos as $index => $info)
@error("contactInfos.{$index}.type")
{{ $message }}
@enderror
@if($info['type'])
@error("contactInfos.{$index}.value")
{{ $message }}
@enderror
@endif
@if($index > 0) @endif
@endforeach --}}