Refactoring of PIREP submission and field code #146
This commit is contained in:
@@ -1,4 +1,12 @@
|
||||
<div class="content table-responsive table-full-width">
|
||||
|
||||
<div class="header">
|
||||
<p class="category">
|
||||
<i class="icon fa fa-info"> </i>
|
||||
PIREP fields are only shown for manual PIREPs.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<table class="table table-hover table-responsive" id="pirepFields-table">
|
||||
<thead>
|
||||
<th>Name</th>
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
<td>
|
||||
<a class="inline" href="#" data-pk="{!! $field->id !!}" data-name="{!! $field->name !!}">{!! $field->value !!}</a>
|
||||
</td>
|
||||
<td>{!! $field->source !!}</td>
|
||||
<td>{!! PirepSource::label($field->source) !!}</td>
|
||||
<td style="width: 10%; text-align: right;" class="form-inline">
|
||||
{!! Form::open(['url' => '/admin/pireps/'.$pirep->id.'/fields',
|
||||
'method' => 'delete',
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<div class="col-sm-2 text-center">
|
||||
<h5>
|
||||
<a class="text-c"
|
||||
href="{!! route('admin.pireps.show', [$pirep->id]) !!}">
|
||||
href="{!! route('admin.pireps.edit', [$pirep->id]) !!}">
|
||||
{!! $pirep->ident !!}
|
||||
</a>
|
||||
</h5>
|
||||
|
||||
Reference in New Issue
Block a user