@extends('home')
@section('title')
{{ __('Our partners') }}
@endsection
@section('styles')
@endsection
@section('content')
|
|
{{__('Title')}} |
|
{{__('Status')}} |
|
{{__('Action')}} |
@foreach ($partners as $index => $partner)
|
{{ $loop->index + $partners->firstItem() }}
|
{{ $partner->title }}
|
@if ($partner->photo)
@else
@endif
|
|
{{ $partner->hits }}
|
{{ Form::open(['method' => 'DELETE', 'route' => ['admin.partner.destroy', $partner->id]]) }}
{{ Form::close() }}
|
@endforeach
@endsection
@section('scripts')
{!! Html::script(Theme::current()->assetPath.'/global/plugins/bootstrap-confirmation/bootstrap-confirmation.min.js') !!}
{!! Html::script(Theme::current()->assetPath.'/global/plugins/select2/js/select2.full.min.js') !!}
{!! Html::script(Theme::current()->assetPath.'/global/plugins/bootstrap-fileinput/bootstrap-fileinput.js') !!}
{!! Html::script(Theme::current()->assetPath.'/global/plugins/bootstrap-markdown/lib/markdown.js') !!}
{!! Html::script(Theme::current()->assetPath.'/global/plugins/bootstrap-switch/js/bootstrap-switch.min.js') !!}
{!! Html::script(Theme::current()->assetPath.'/global/plugins/bootstrap-markdown/js/bootstrap-markdown.js') !!}
{!! Html::script(Theme::current()->assetPath.'/global/plugins/jquery-validation/js/jquery.validate.min.js') !!}
{!! Html::script(Theme::current()->assetPath.'/global/plugins/jquery-validation/js/additional-methods.min.js') !!}
{!! Html::script(Theme::current()->assetPath.'/partners/scripts/form-validation.js') !!}
{!! Html::script(Theme::current()->assetPath.'/global/plugins/jquery-ui/jquery-ui.min.js') !!}
@endsection