@extends(BaseHelper::getAdminMasterLayoutTemplate()) @section('content')

  {{ trans('plugins/translation::translation.theme-translations') }}

@if (count(\Botble\Base\Supports\Language::getAvailableLocales()) > 0 && $group) {!! Form::open(['role' => 'form', 'route' => 'translations.theme-translations', 'method' => 'POST']) !!}

{{ trans('plugins/translation::translation.translate_from') }} {{ $defaultLanguage ? $defaultLanguage['name'] : 'en' }} {{ trans('plugins/translation::translation.to') }} {{ $group['name'] }}

@include('plugins/translation::partials.list-theme-languages-to-translate', compact('groups', 'group'))

{{ trans('plugins/translation::translation.theme_translations_instruction') }}

@foreach ($translations as $key => $translation) @endforeach
{{ $defaultLanguage ? $defaultLanguage['name'] : 'en' }} {{ $group['name'] }}
{!! htmlentities($key, ENT_QUOTES, 'UTF-8', false) !!} {!! htmlentities($translation, ENT_QUOTES, 'UTF-8', false) !!}

{!! Form::close() !!} @else

{{ trans('plugins/translation::translation.no_other_languages') }}

@endif
@stop