<div class="nav-tabs-custom"> <!-- Nav tabs --> <ul class="nav nav-tabs primary"> <li class="active"><a href="#details" data-toggle="tab"> {!! trans('advertisement::advertisement.name') !!}</a></li> <div class="box-tools pull-right"> <button type="button" class="btn btn-success btn-sm" data-action='NEW' data-load-to='#advertisement-advertisement-entry' data-href='{{guard_url('advertisement/advertisement/create')}}'><i class="fa fa-plus-circle"></i> {{ trans('app.new') }}</button> @if($advertisement->id ) <button type="button" class="btn btn-primary btn-sm" data-action="EDIT" data-load-to='#advertisement-advertisement-entry' data-href='{{ guard_url('advertisement/advertisement') }}/{{$advertisement->getRouteKey()}}/edit'><i class="fa fa-pencil-square"></i> {{ trans('app.edit') }}</button> <button type="button" class="btn btn-danger btn-sm" data-action="DELETE" data-load-to='#advertisement-advertisement-entry' data-datatable='#advertisement-advertisement-list' data-href='{{ guard_url('advertisement/advertisement') }}/{{$advertisement->getRouteKey()}}' > <i class="fa fa-times-circle"></i> {{ trans('app.delete') }} </button> @endif </div> </ul> {!!Form::vertical_open() ->id('advertisement-advertisement-show') ->method('POST') ->files('true') ->action(guard_url('advertisement/advertisement'))!!} <div class="tab-content clearfix disabled"> <div class="tab-pan-title"> {{ trans('app.view') }} {!! trans('advertisement::advertisement.name') !!} [{!! $advertisement->name !!}] </div> <div class="tab-pane active" id="details"> @include('advertisement::admin.advertisement.partial.entry', ['mode' => 'show']) </div> </div> {!! Form::close() !!} </div>