@extends('layouts.simple') @section('body') @php $type = $import->getType(); @endphp

{{ trans('entities.import_continue') }}

{{ trans('entities.import_continue_desc') }}

@icon($type) {{ $import->name }}

@if($type === 'book')

@icon('chapter') {{ trans_choice('entities.x_chapters', $import->chapter_count) }}

@endif @if($type === 'book' || $type === 'chapter')

@icon('page') {{ trans_choice('entities.x_pages', $import->page_count) }}

@endif
{{ trans('entities.import_size') }} {{ $import->getSizeString() }}
{{ trans('entities.import_uploaded_at') }} {{ $import->created_at->diffForHumans() }}
@if($import->createdBy)
{{ trans('entities.import_uploaded_by') }} {{ $import->createdBy->name }}
@endif
{{ csrf_field() }} @if($type === 'page' || $type === 'chapter')

{{ trans('entities.import_location_desc') }}

@include('entities.selector', [ 'name' => 'parent', 'entityTypes' => $type === 'page' ? 'chapter,book' : 'book', 'entityPermission' => "{$type}-create", 'selectorSize' => 'compact small', ]) @include('form.errors', ['name' => 'parent']) @endif
{{ trans('common.cancel') }}
{{ method_field('DELETE') }} {{ csrf_field() }}
@stop