fix classname on select

This commit is contained in:
Nabeel Shahzad 2017-11-22 12:00:31 -06:00
parent 4d29389614
commit 6df5184734
2 changed files with 3 additions and 4 deletions

View File

@ -10,7 +10,7 @@
aria-label="name: activate to sort column ascending"> aria-label="name: activate to sort column ascending">
name name
</th> </th>
<th class="sorting_asc" tabindex="0" <th class="sorting_asc" tabindex="0" style="text-align: center;"
aria-controls="aircraft_fares" rowspan="1" colspan="1" aria-controls="aircraft_fares" rowspan="1" colspan="1"
aria-sort="ascending" aria-sort="ascending"
aria-label="code: activate to sort column descending"> aria-label="code: activate to sort column descending">
@ -38,7 +38,7 @@
@foreach($subfleet->fares as $atf) @foreach($subfleet->fares as $atf)
<tr role="row" class="@if ($loop->iteration % 2) even @else odd @endif"> <tr role="row" class="@if ($loop->iteration % 2) even @else odd @endif">
<td class="sorting_1">{!! $atf->name !!}</td> <td class="sorting_1">{!! $atf->name !!}</td>
<td>{!! $atf->code !!}</td> <td style="text-align: center;">{!! $atf->code !!}</td>
<td><a href="#" data-pk="{!! $atf->id !!}" data-name="capacity">{!! $atf->pivot->capacity !!}</a> <td><a href="#" data-pk="{!! $atf->id !!}" data-name="capacity">{!! $atf->pivot->capacity !!}</a>
<span class="small background-color-grey-light">({!! $atf->capacity !!})</span> <span class="small background-color-grey-light">({!! $atf->capacity !!})</span>
</td> </td>
@ -73,7 +73,7 @@
!!} !!}
{!! Form::select('fare_id', $avail_fares, null, [ {!! Form::select('fare_id', $avail_fares, null, [
'placeholder' => 'Select Fare', 'placeholder' => 'Select Fare',
'class' => 'ac-fare-dropdown form-control input-lg', 'class' => 'ac-fare-dropdown form-control input-lg select2',
]) ])
!!} !!}

View File

@ -1,7 +1,6 @@
@section('scripts') @section('scripts')
<script> <script>
$(document).ready(function() { $(document).ready(function() {
$(".ac-fare-dropdown").select2();
$('#aircraft_fares a').editable({ $('#aircraft_fares a').editable({
type: 'text', type: 'text',
mode: 'inline', mode: 'inline',