@extends('admin.layouts.app')

@section('title')
    {{ $unit->name }} <small>{{ $title }}</small>
@endsection

@section('content')
   <div class="content">
       @include('adminlte-templates::common.errors')
       <div class="box box-primary">
           <div class="box-body">
               <div class="row">
                   {!! Form::model($unit, ['route' => ['admin.units.update', $unit->id], 'method' => 'patch', 'files' => true]) !!}

                        @include('admin.units.fields')

                   {!! Form::close() !!}
               </div>
           </div>
       </div>
   </div>
@endsection