@extends('layout.layout') {{-- Style --}} @push('links') @endpush {{-- Content --}} @section('content') @include('custom::component.reply-btn', ['url' => $back_route])
@csrf
@component('component.single_file',['name'=>'photo','model'=>isset($model)?$model:null,'mimes'=>'image/jpeg,image/bmp,image/png','file_url'=>isset($model->photo_display_name)?route('user.file',['user'=>$model->id, 'slug'=>'basic', 'filename'=>$model->photo_name]):null]) @endcomponent 上傳格式:.jpeg, .png, .bmp
@php $photo_is_public = old('photo_is_public',$model->photo_is_public) @endphp
{{$model->name}}
@if ($errors->has('en_name')) @foreach($errors->get('en_name') as $error)
{{ $error }}
@endforeach @endif
@php $en_name_is_public = old('en_name_is_public',$model->en_name_is_public) @endphp
{{$model->departments->pluck('name')->join(',')}}
@if ($errors->has('school_extension')) @foreach($errors->get('school_extension') as $error)
{{ $error }}
@endforeach @endif
{{$model->email}}
@endsection {{-- Script --}} @push('scripts') @endpush