@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($item->file == null)
  • {{__("There is noting file to show!")}}
  • {{__("Please upload file")}}
  • @endif
@if($item)

{{__("File")}}

@if($item->file != null)
  • {{__("File name")}}: {{$item->file}}
  • {{__("File ext")}}: {{$item->ext}}
  • {{__("File size")}}: {{formatFileSize($item->size)}}
{{__("Download")}}
@endif

{{__("Attaching")}}

@endif

@if(isset($item)) {{__("Edit attachment")}} [{{$item->title}}] @else {{__("Add new attachment")}} @endif

 
is_fillable??null) == 1) checked="" @endif value="1">
@endsection