phpvms/resources/views/admin/flights/edit.blade.php
2017-06-17 17:25:36 -05:00

22 lines
649 B
PHP

@extends('admin.app')
@section('content')
<section class="content-header">
<h1>Edit {!! $flight->airline->name !!}{!! $flight->number !!}</h1>
</section>
<div class="content">
@include('adminlte-templates::common.errors')
<div class="box box-primary">
<div class="box-body">
<div class="row">
{!! Form::model($flight, ['route' => ['admin.flights.update', $flight->id], 'method' => 'patch']) !!}
@include('admin.flights.fields')
{!! Form::close() !!}
</div>
</div>
</div>
</div>
@endsection