2017-06-09 09:37:51 +08:00
|
|
|
@extends('admin.app')
|
2017-11-23 10:03:49 +08:00
|
|
|
@section('title', "Edit \"$aircraft->name\"")
|
2017-06-09 09:37:51 +08:00
|
|
|
@section('content')
|
2018-04-02 07:02:12 +08:00
|
|
|
<div class="card border-blue-bottom">
|
|
|
|
<div class="content">
|
|
|
|
{{ Form::model($aircraft, ['route' => ['admin.aircraft.update', $aircraft->id], 'method' => 'patch']) }}
|
|
|
|
@include('admin.aircraft.fields')
|
|
|
|
{{ Form::close() }}
|
|
|
|
</div>
|
2017-06-09 09:37:51 +08:00
|
|
|
</div>
|
2018-03-07 07:32:56 +08:00
|
|
|
|
2018-04-02 07:02:12 +08:00
|
|
|
<div class="card border-blue-bottom">
|
|
|
|
<div class="content">
|
|
|
|
@include('admin.aircraft.expenses')
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="card border-blue-bottom">
|
|
|
|
<div class="content">
|
|
|
|
@include('admin.common.file_upload', [
|
|
|
|
'model' => $aircraft,
|
|
|
|
'redirect' => route('admin.aircraft.edit', ['id' => $aircraft->id])
|
|
|
|
])
|
|
|
|
</div>
|
2018-03-07 07:32:56 +08:00
|
|
|
</div>
|
2017-06-09 09:37:51 +08:00
|
|
|
@endsection
|
2018-03-07 07:32:56 +08:00
|
|
|
|
|
|
|
@include('admin.aircraft.script')
|