@extends("admin.layouts.app") @section("styles") @endsection @section("content")
@lang("constants.featured_boxes")
{!! Form::open(['route'=>"admin.featuredBox.index",'method'=>"get"]) !!} {!! Form::close() !!} @forelse($featured_boxes as $featuredBox) @empty @endforelse
@lang('constants.image') @lang("constants.title") @lang('constants.is_active') @lang('constants.action')
{{Form::text("title",Request::get("title",null),['class'=>"form-control form-filter input-sm"])}} {!! Form::select("is_active",["active"=>"Active","not-active"=>"Not Active"],Request::get("is_active",null),['class'=>"form-filter input-sm form-control","placeholder"=>"All"])!!} Reset
Image {{$featuredBox->title}} @if ($featuredBox->is_active) @else @endif {{Form::open(['route'=>["admin.featuredBox.destroy",$featuredBox->id],'method'=>"delete"])}} id)}}" class="btn btn-outline btn-sm purple" title="Edit"> @lang("constants.edit") {!! Form::close() !!}
{!! $featured_boxes->appends($appends)->links()!!}
@lang("constants.featured_boxes_order")
{{ Form::open(['route' => "admin.featuredBox.order",'class'=>"form-horizontal"]) }} {{ Form::hidden('reorder',"",array('id'=>'reorder')) }}
    @foreach ($items as $item)
  1. {{$item['title']}}
  2. @endforeach
{!! Form::close()!!}
@endsection @section("scripts") @include("admin.layouts.update_attribute") @endsection