rename 'enabled' to 'active'

This commit is contained in:
Nabeel Shahzad
2017-06-08 20:46:50 -05:00
parent 3678363766
commit 0cb98f1920
10 changed files with 28 additions and 33 deletions

View File

@@ -2,20 +2,20 @@
<thead>
<th>Code</th>
<th>Name</th>
<th>Enabled</th>
<th>Active?</th>
<th colspan="3">Action</th>
</thead>
<tbody>
@foreach($airlines as $airlines)
@foreach($airlines as $al)
<tr>
<td>{!! $airlines->code !!}</td>
<td>{!! $airlines->name !!}</td>
<td>{!! $airlines->enabled !!}</td>
<td>{!! $al->code !!}</td>
<td>{!! $al->name !!}</td>
<td>{!! $al->active !!}</td>
<td>
{!! Form::open(['route' => ['airlines.destroy', $airlines->id], 'method' => 'delete']) !!}
{!! Form::open(['route' => ['airlines.destroy', $al->id], 'method' => 'delete']) !!}
<div class='btn-group'>
<a href="{!! route('airlines.show', [$airlines->id]) !!}" class='btn btn-default btn-xs'><i class="glyphicon glyphicon-eye-open"></i></a>
<a href="{!! route('airlines.edit', [$airlines->id]) !!}" class='btn btn-default btn-xs'><i class="glyphicon glyphicon-edit"></i></a>
<a href="{!! route('airlines.show', [$al->id]) !!}" class='btn btn-default btn-xs'><i class="glyphicon glyphicon-eye-open"></i></a>
<a href="{!! route('airlines.edit', [$al->id]) !!}" class='btn btn-default btn-xs'><i class="glyphicon glyphicon-edit"></i></a>
{!! Form::button('<i class="glyphicon glyphicon-trash"></i>', ['type' => 'submit', 'class' => 'btn btn-danger btn-xs', 'onclick' => "return confirm('Are you sure?')"]) !!}
</div>
{!! Form::close() !!}
@@ -23,4 +23,4 @@
</tr>
@endforeach
</tbody>
</table>
</table>