@extends("admin.layouts.app") @section("styles") @endsection @section("content")
@lang("constants.heros")
{{-- --}} {!! Form::open(['route'=>"admin.hero.index",'method'=>"get"]) !!} {!! Form::close() !!} @forelse($heros as $hero) {{-- --}} @empty @endforelse
@lang('constants.image') @lang("constants.title") @lang("constants.animation") @lang('constants.is_active') Is Daek @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"])!!} {!! Form::select("is_dark",["yes"=>"Yes","no"=>"No"],Request::get("is_dark",null),['class'=>"form-filter input-sm form-control","placeholder"=>"All"])!!} Reset
Image {{$hero->title}} --}} {{-- {!! $hero->description !!}--}} {{-- @if ($hero->is_active) @else @endif @if ($hero->is_dark) @else @endif {{-- {{$hero->is_dark ? "Yes":"No"}}--}} {{Form::open(['route'=>["admin.hero.destroy",$hero->id],'method'=>"delete"])}} id)}}" class="btn btn-outline btn-sm purple" title="Edit"> @lang("constants.edit") {!! Form::close() !!}
{!! $heros->appends($appends)->links()!!}
@lang("constants.heros_order")
{{ Form::open(['route' => "admin.hero.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