@extends("admin.admin_app") @section("content")

Star Category @if(isset($objEdit)) Edit @elseif($actionType=='add') Add @else List @endif

@if(isset($objEdit))
@if (count($errors) > 0)
@endif @if(Session::has('flash_message'))
{{ Session::get('flash_message') }}
@endif {!! Form::open(array('url' => array('admin/starcategory/'.$objEdit->id),'class'=>'form-horizontal padding-15','name'=>'category_form','id'=>'category_form','role'=>'form','enctype' => 'multipart/form-data')) !!}
Cancel
{!! Form::close() !!}
@elseif($actionType=='add')
@if (count($errors) > 0)
@endif @if(Session::has('flash_message'))
{{ Session::get('flash_message') }}
@endif {!! Form::open(array('url' => array('admin/starcategory'),'class'=>'form-horizontal padding-15','name'=>'category_form','id'=>'category_form','role'=>'form','enctype' => 'multipart/form-data')) !!}
Cancel
{!! Form::close() !!}
@else
@if (count($errors) > 0)
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif @if(Session::has('flash_message'))
{{ Session::get('flash_message') }}
@endif @foreach($starcategory as $i => $value) @endforeach
SNo. Star Category Name Status Actions
{{ $i+1 }} {{ $value->name }} @if($value->status=='0') @else @endif
@endif @endsection