@extends('admin.layouts.app')
@section('title', admin_trans('languages'))
@section('page-title', admin_trans('languages'))
@section('content')
{{ admin_trans('add_language') }}
@if($languages->isEmpty())
@if(request('search'))
{{ admin_trans('clear') }}
@else
{{ admin_trans('add_language') }}
@endif
@else
@foreach($languages as $language)
{{ $language->order }}
{{ strtoupper($language->code) }}
{{ $language->name }}
{{ $language->native_name }}
@if($language->is_default)
{{ admin_trans('default') }}
@else
@endif
@if(!$language->is_default)
@endif
@endforeach
{{ admin_trans('drag_rows_to_reorder') }}
@if($languages->hasPages())
@endif
@endif
{{ admin_trans('add_language') }}
{{ admin_trans('edit_language') }}
@endsection
@push('scripts')
@endpush