@extends('admin.layouts.master') @section('header')

 {{ mb_ucfirst(trans('admin.languages')) }}   {{ trans('admin.translate') }} {{ trans('admin.site_texts') }}

@endsection @section('content')

{{ ucfirst(trans('admin.language')) }}: @foreach ($languages as $lang) @if ($currentLang == $lang->code) {{{ $lang->name }}} @endif @endforeach   {{ trans('admin.switch_to') }}:  

{!! trans('admin.rules_text') !!}

@if (!empty($fileArray)) {{ html()->form('POST', admin_url('languages/texts/' . $currentLang . '/' . $currentFile)) ->id('lang-form') ->class('form-horizontal') ->data('required', trans('admin.fields_required')) ->open() }} {{ html()->button(' ' . trans('admin.save'), 'submit') ->class('btn btn-primary shadow submit float-end hidden-xs hidden-sm') ->style('margin-top: 10px;') }}
{!! $langFile->displayInputs($fileArray) !!}
{{ html()->form()->close() }} @else
{{ trans('admin.empty_file') }}
@endif
@endsection @section('after_scripts') @endsection