@extends('admin.template.master') @section('stylesheets') {!! Html::style('assets/admin/bower_components/select2/dist/css/select2.min.css') !!} {!! Html::style('assets/admin/plugins/treeview/treeview.css') !!} @endsection @section('title')

Desktop Builder Description Update desktop builder description

@endsection @section('main-content')
@if(Session::has('message'))

Alert!

{{Session('message')}}
@endif

Edit

{!! Form::open(['method' => 'PATCH', 'url' => '/admin/desktop-builder-descriptions/' .$desktop_b_desc->desktop_b_descs_id]) !!}
{!! Form::label('Description For') !!} {!! Form::select('desc_type',$desc_types,$desktop_b_desc->desc_type,['class' =>'form-control', 'id' => 'desc_type']) !!} @if ($errors->has('desc_type')) {!! $errors->first('desc_type') !!} @endif
{!! Form::label('Item Type') !!} {!! Form::select('item_type_id',$item_types,$desktop_b_desc->item_type_id,['class' =>'form-control', 'placeholder'=> 'Select Item type', 'id' => 'item_type_id']) !!} @if (Session::has('message') && Session('message')=='Select Item Type') {!! Session('message') !!} @endif
{!! Form::label('Description') !!} {!! Form::textarea('desc', $desktop_b_desc->desc, ['class' => 'form-control', 'rows' => 20, 'placeholder' => 'Description', 'id' => 'desc']) !!} @if ($errors->has('desc')) {!! $errors->first('desc') !!} @endif
{!! Form::label('Status') !!} {!! Form::select('desktop_b_descs_is_exist', [1 => 'Active', 0 => 'Inactive'], $desktop_b_desc->desktop_b_descs_is_exist, ['class' => 'form-control']) !!}
{!! Form::close() !!}
@endsection @section('javascripts') {!! Html::script('assets/admin/bower_components/ckeditor/ckeditor.js') !!} {!! Html::script('assets/admin/bower_components/select2/dist/js/select2.full.min.js') !!} @endsection