@include('admin::parts.head') {{----}} {{----}}
@include('admin::parts.menu')

{{ $page_title}}

{!! $breadcrumb !!}

{!! ucfirst($action) !!} Form

{!! Alert::show() !!}

Product Details

@if($action !== 'add') @if( $data->img != null ) @else @endif @else @endif
Select image Change Remove

For Best Resolution : 800 x 800 px
File Type : .jpg | .jpeg | .png
Max Size : 2Mb

{!! Form::text('video', Input::old('video', isset($data->video) ? $data->video : old('video')), array('class' => 'enter_execute form-control')) !!}

Notes :
1. Open video on Youtube.
2. Copy code after https://www.youtube.com/watch?v= from video url.

{!! Form::text('name', Input::old('name', isset($data->name) ? $data->name : old('name')), array('class' => 'enter_execute form-control')) !!}
{!! Form::text('subtitle', Input::old('subtitle', isset($data->subtitle) ? $data->subtitle : old('subtitle')), array('class' => 'enter_execute form-control')) !!}
{!! Form::textarea('description', Input::old('description', isset($data->description) ? $data->description : ''), array('class'=>"wysiwyg") ) !!}
{!! Form::textarea('projects', Input::old('projects', isset($data->projects) ? $data->projects : ''), array('class'=>"wysiwyg") ) !!}
{!! Form::text('meta_title', Input::old('meta_title', isset($data->meta_title) ? $data->meta_title : ''), array('class' => 'enter_execute form-control')) !!}
{!! Form::text('meta_keyword', Input::old('meta_keyword', isset($data->meta_keyword) ? $data->meta_keyword : ''), array('class' => 'enter_execute form-control')) !!}
{!! Form::textarea('meta_description', Input::old('meta_description', isset($data->meta_description) ? $data->meta_description : ''), array('class'=>"form-control") ) !!}

Images

@if($action == 'add')
Please save product first before adding images.
@else
@endif
@if($action=='edit') @endif
@include('admin::parts.footer')