@extends('admin.templates.panel-form-template')
@section('title')
@if(isset($item))
{{__("Edit attachment")}} [{{$item->title}}]
@else
{{__("Add new attachment")}}
@endif -
@endsection
@section('form')
@include('components.err')
{{__("Tips")}}
-
{{__("If you want to only attach to other staff members and do not want to appear in the website attachment list, uncheck `fillable`")}}
@if(isset($item) && $item->file == null)
-
{{__("There is noting file to show!")}}
-
{{__("Please upload file")}}
@endif
@if(isset($item))
{{__("File")}}
@if($item->file != null)
-
{{__("File name")}}: {{$item->file}}
-
{{__("File ext")}}: {{$item->ext}}
-
{{__("File size")}}: {{formatFileSize($item->size)}}
{{__("Download")}}
@endif
@endif
@endsection