@extends('layouts.master') @section('title', 'Create') @section('content')

Edit Category

Back
{{ Form::model($category, [ 'route'=>['category.update',$category->id],'method'=>'patch','enctype'=>'multipart/form-data']) }}
{!! Form::label('category', 'Category') !!} {!! Form::text('category_name', null, ['class' => 'form-control', 'placeholder' => 'Category','required' => 'required']) !!} @if ($errors->has('category'))

{{ $errors->first('category') }}

@endif
{{ Form::label('slug','*Slug ')}} {{ Form::Text('slug',null,['class'=>'form-control','required' => 'required'])}}
{{ Form::label('image',' *Feature Image ')}}
{{ Form::label('description',' *Long Description ')}} {!! Form::textarea('description', null, ['class' => 'form-control', 'placeholder' => 'Description','id'=> 'editor1','required' => 'required']) !!}
{{ Form::label('short_description',' *Short Description ')}} {!! Form::textarea('short_description', null, ['class' => 'form-control', 'placeholder' => 'Short description','id'=> 'editor5','required' => 'required']) !!}
{{ Form::label('meta_title','Meta Title ')}} {{ Form::Text('meta_title',null,['class'=>'form-control'])}}
{{ Form::label('meta_description',' Meta Description ')}} {!! Form::textarea('meta_description', null, ['class' => 'form-control', 'placeholder' => 'Meta description','id'=> 'editor2','rows' => 4, 'cols' => 40]) !!}
{{ Form::label('meta_keywords',' Meta Keywords ')}} {!! Form::textarea('meta_keywords', null, ['class' => 'form-control', 'placeholder' => 'Meta keywords','id'=> 'editor3','rows' => 4, 'cols' => 40]) !!}
{{ Form::label('tags',' Tags ')}} {!! Form::textarea('tags', null, ['class' => 'form-control', 'placeholder' => 'Meta tags','id'=> 'editor4','rows' => 4, 'cols' => 40]) !!}
Published Unpublished

{!! Form::submit('Update', ['class' => 'btn btn-primary']) !!}
{!! Form::close() !!}
@endsection