@extends(Auth::check() && Auth::user()->role->layout == 1 ? 'layouts.admin' : 'layouts.employee')

@section('content')
<div class="content-wrapper">
	<section class="content-header">
		<h1>
		{{trans('general.tipo')}} 	{{trans('general.de')}} {{trans('general.documentos')}}
		</h1>
	</section>

	<section class="content">
		<div class="row">
			<div class="col-md-8 col-md-offset-2">
				<div class="box box-success">
					<div class="box-header">	
						<h3 class="box-title">{{trans('general.edit')}} {{trans('general.tipo')}} 	{{trans('general.de')}} {{trans('general.documentos')}}</h3>
					</div>
					<div class="box-body">
						{!! Form::model($document_type, ['method' => 'PATCH', 'url' => 'document-types/'.$document_type->id]) !!}
						{!! Form::hidden('id', $document_type->id) !!}
						@include('document-types.form')
						{!! Form::close() !!}
					</div>
				</div>
			</div>
		</div>
	</section>
</div>
@endsection