@can('massDelete', \App\Models\Language::class)
|
@endcan
{{ $language->language }}
@if ($language->rtl)
{{ trans('app.rtl') }}
@endif
@if ($language->active)
{{ trans('app.active') }}
@endif
|
{!! $language->code !!} |
{!! $language->php_locale_code !!} |
@can('update', $language)
@endcan
@can('delete', $language)
@if (in_array($language->id, config('system.freeze.languages')))
@else
{!! Form::open(['route' => ['admin.setting.language.trash', $language], 'method' => 'delete', 'class' => 'data-form']) !!}
{!! Form::button('', ['type' => 'submit', 'class' => 'confirm ajax-silent', 'title' => trans('app.trash'), 'data-toggle' => 'tooltip', 'data-placement' => 'top']) !!}
{!! Form::close() !!}
@endif
@endcan
|
@endforeach