@extends('dashboard.layouts.index', ['breadcrumb' => ['main' => 'global.employee_profile','sub' => "global.employee_profile"], 'user_side' => $user]) @section('title') @endsection @section('content')
@lang("global.documents")
@foreach($documents as $document)
{{$document->title}}
@csrf @component('dashboard.components.edit_text' , [ "name" => "title", "type" => "text", 'value' => $document->title, 'maxlentgh' => 50, "title" => __("global.title"), "classlable" =>" required ", ]) @endcomponent @component('dashboard.components.edit_image',[ 'hide_default' => true, 'name' => 'file', 'value' => $document->document, 'upload_title' => trans('global.upload_document'), 'placeholder' => __('global.document') , ]) @endcomponent
@endforeach
@component('dashboard.components.modal', ['id' => 'add-document', 'title' => trans('global.add_new_documents')])
@csrf @component('dashboard.components.edit_text' , [ "name" => "title", "type" => "text", 'maxlentgh' => 50, "title" => __("global.title"), "classlable" =>" required ", ]) @endcomponent @component('dashboard.components.edit_image',[ 'hide_default' => true, 'name' => 'file', "required" => true, 'upload_title' => trans('global.upload_document'), 'placeholder' => __('global.document') , ]) @endcomponent
@endcomponent @endsection