diff --git a/resources/views/categories/edit.blade.php b/resources/views/categories/edit.blade.php index aa586fa2e4..25f7bc0777 100755 --- a/resources/views/categories/edit.blade.php +++ b/resources/views/categories/edit.blade.php @@ -55,7 +55,7 @@
- {{ Form::select('category_type', $category_types , Input::old('category_type', $category->category_type), array('class'=>'select2', 'style'=>'min-width:350px')) }} + {{ Form::select('category_type', $category_types , Input::old('category_type', $category->category_type), array('class'=>'select2', 'style'=>'min-width:350px', $category->itemCount() > 0 ? 'disabled' : '')) }} {!! $errors->first('category_type', ' :message') !!}