@extends('admin.layouts.main') @section('content')

Blog Management

Edit Blog


{{ Form::model($blog, ['route' => ['blog.update', $blog->id], 'method' => 'put', 'role' => 'form','enctype'=>'multipart/form-data','id'=>'blogAddForm'] ) }}
Fields marked as (*) are Mandatory
{{ Form::label('c_id','Category *') }}
@if($errors->has('c_id')) {{ $errors->first('c_id') }} @endif
{{ Form::label('title',' Title*') }}
{{ Form::text('title',null,['class'=>'form-control','placeholder'=>'Enter Title','autocomplete'=>'off'],old('title'))}} @if($errors->has('title')) {{ $errors->first('title') }} @endif
{{ Form::label('short_desc','Short Description *') }}
{{ Form::textarea('short_desc',null,['class'=>'form-control','placeholder'=>'Enter Short Description','autocomplete'=>'off','rows'=>'3','maxlength'=>'200'],old('short_desc'))}} @if($errors->has('c_id')) {{ $errors->first('c_id') }} @endif
{{ Form::label('tags','Tags *') }}
{{ Form::text('tags',null,['class'=>'form-control','placeholder'=>'Enter Tags','autocomplete'=>'off','data-role'=>'tagsinput'],old('tags'))}} @if($errors->has('c_id')) {{ $errors->first('c_id') }} @endif
{{ Form::label('image','Blog Image') }} {{"Please select image with lessthan or equal 1000 X 1000 Dimension"}}
@if($errors->has('image')) {{ $errors->first('image') }} @endif

@if(file_exists(public_path('uploads/BlogImage/'.$blog->image)) && $blog->image) @else @endif
{{ Form::label('description',' Description') }}
@if($errors->has('description')) {{ $errors->first('description') }} @endif

SEO Details

{{ Form::label('meta_title',' Meta Title') }}
{{ Form::text('meta_title',null,['class'=>'form-control','placeholder'=>'Enter Meta Title','autocomplete'=>'off'],old('meta_title'))}} @if($errors->has('meta_title')) {{ $errors->first('meta_title') }} @endif
{{ Form::label('meta_tag',' Meta Tags') }}
{{ Form::text('meta_tag',null,['class'=>'form-control','placeholder'=>'Enter Meta Tags','autocomplete'=>'off','data-role'=>'tagsinput'],old('meta_tag'))}} @if($errors->has('meta_tag')) {{ $errors->first('meta_tag') }} @endif
{{ Form::label('meta_description',' Meta Description') }}
{{ Form::textarea('meta_description',null,['class'=>'form-control','placeholder'=>'Enter Description','autocomplete'=>'off','rows'=>4],old('meta_description'))}} @if($errors->has('meta_description')) {{ $errors->first('meta_description') }} @endif

Cancel
{!! Form::close() !!}
@stop @section('footer_script') {{ Html::script('admin_theme/js/category.js') }} @stop