diff --git a/resources/views/categories/edit.blade.php b/resources/views/categories/edit.blade.php index 1b68d46b9b..9d4d25c814 100755 --- a/resources/views/categories/edit.blade.php +++ b/resources/views/categories/edit.blade.php @@ -15,11 +15,16 @@
- {{ Form::select('category_type', $category_types , old('category_type', $item->category_type), array('class'=>'select2', 'style'=>'min-width:350px', 'aria-label'=>'category_type', $item->itemCount() > 0 ? 'disabled' : '')) }} + {{ Form::select('category_type', $category_types , old('category_type', $item->category_type), array('class'=>'select2', 'style'=>'min-width:350px', 'aria-label'=>'category_type', ($item->category_type!='') || ($item->itemCount() > 0) ? 'disabled' : '')) }} {!! $errors->first('category_type', '') !!}
+
+

{!! trans('admin/categories/message.update.cannot_change_category_type') !!}

+
+ +