@if(userCan('SetTraining-edit')==0) @php header("Location: " . URL::to('errors.403'), true, 302); exit(); @endphp @endphp @endif @extends('layouts.default') @php $pageTitle = 'Update Training'; @endphp @section('title',$pageTitle) @section('PageHead') @if ( session('massage') ) × Success! {{session('massage')}} @endif @if ( session('error') ) × Not Success! {{session('error')}} @endif @if (Session::has('errors')) @foreach ($errors->all() as $error) {{ $error }} @endforeach @endif {{$pageTitle}} Dashboard @if(userCan('setting-list')>0) Settings @endif @if(userCan('SetTraining-list')>0) Training List @endif @if(userCan('SetTraining-create')>0) Add New @endif @stop @section('content') {{ csrf_field() }} @method('PUT') Training Name type==1) checked @endif >Competence type==2) checked @endif >Development Code Training Category Select One {!!TrainingCategoryType(@$data->category_id)!!} Description {{@$data->description}} Duration Duration Type Select One {!!TrainingDurationType(@$data->duration_type)!!} Save @stop