@if($hasTranslatable)
@{{ trans('admin.forms.currently_editing_translation') }} @{{ trans('admin.forms.more_can_be_managed') }} | @{{ trans('admin.forms.manage_translations') }}
@{{ trans('admin.forms.choose_translation_to_edit') }} | @{{ trans('admin.forms.hide') }}
@endif {{-- TODO extract to the exceptional array --}} @foreach($columns as $col)@if(!in_array($col['name'], ['created_by_admin_user_id','updated_by_admin_user_id']))@if($col['name'] == 'password')
@elseif($col['type'] == 'date' && !in_array($col['name'], ['published_at']))
@elseif($col['type'] == 'time')
@elseif($col['type'] == 'datetime' && !in_array($col['name'], ['published_at']))
@elseif($col['type'] == 'text')
@elseif($col['type'] == 'boolean')
@elseif($col['type'] == 'json')
@@foreach($locales as $locale)
@if(in_array($col['name'], $translatableTextarea))
@else @endif
@@endforeach
@elseif(!in_array($col['name'], ['published_at']))
@endif @endif @endforeach @if (count($relations)) @if (count($relations['belongsToMany'])) @foreach($relations['belongsToMany'] as $belongsToMany)
@endforeach @endif @endif