@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->abbr) {{{ $lang->name }}} @endif @endforeach   {{ trans('admin.switch_to') }}:  

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

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