@extends('layouts.admin') @section('title', 'Sub Category') @section('content') Sub Category Sub Category Update Update Sub Category {{ Html::ul($errors->all()) }} {{ Form::model($data, array('route' => array('sub_categories.update', $data->id), 'method' => 'PUT','files'=>true)) }} Category @foreach($categories as $cat) id==$data->category_id) selected @endif>{{$cat->title}} @endforeach Title {{ Form::text('title', $data->title, array('id'=>'exampleInputEmail1','class' => 'form-control','placeholder' => 'Enter name')) }} Arabic Title {{ Form::text('arabic_title', $data->arabic_title, array('id'=>'exampleInputEmail1','class' => 'form-control','placeholder' => 'Enter arabic name')) }} Status status=='1') checked @endif value="1"> Active status=='0') checked @endif value="0"> Inactive {{ Form::close() }} @endsection