@extends('layout.layout') {{-- Style --}} @push('links') @endpush {{-- Content --}} @section('content') @include('custom::component.reply-btn', ['url' => $back_route])
@csrf
@if ($errors->has('name')) @foreach($errors->get('name') as $error)
{{ $error }}
@endforeach @endif
@php $parent_folder_id = old('parent_folder_id',isset($model->parent_folder_id)?$model->parent_folder_id:'root'); $l = 1; $dir_name = '根目錄/'; $has_folder = false; $folder_class = '\Modules\Doc\Entities\Folder'; if(isset($model)&&$model instanceof $folder_class){ $has_folder = true; } @endphp @if ($errors->has('parent_folder_id')) @foreach($errors->get('parent_folder_id') as $error)
{{ $error }}
@endforeach @endif
@if ($errors->has('description')) @foreach($errors->get('description') as $error)
{{ $error }}
@endforeach @endif
@php $public_type_id = old('public_type_id',isset($model)?$model->public_type_id:1); @endphp
@foreach($public_type_id_options as $option)
first) required @endif @if($public_type_id==$option->id) checked @endif >
@endforeach 設定可訪問資料夾的人員
@if ($errors->has('public_type_id')) @foreach($errors->get('public_type_id') as $error)
{{ $error }}
@endforeach @endif
@endsection {{-- Script --}} @push('scripts') @endpush