 			var formItem:CollectFormItem;
 			if ( defn is AttributeDefinitionProxy ) {
 				formItem = UIBuilder.getAttributeFormItem(AttributeDefinitionProxy(defn));
-				formItem.labelWidth = ! (view.entityDefinition.multiple) && view.entityDefinition.parentLayout == UIUtil.LAYOUT_FORM ? 
-						INDENTED_LABEL_WIDTH : DEFAULT_LABEL_WIDTH;
+				formItem.labelWidth = insideSingleEntityForm ? INDENTED_LABEL_WIDTH : DEFAULT_LABEL_WIDTH;
 			} else {
 				formItem = UIBuilder.getEntityFormItem(EntityDefinitionProxy(defn));
 				BindingUtils.bindProperty(formItem, "modelVersion", _view, "modelVersion");

			}
		}
		
		private function isInsideFormLayoutEntity():Boolean {
			if ( view.entityDefinition != null && view.entityDefinition.parent != null && 
				view.entityDefinition.parent.multiple && view.entityDefinition.parentLayout == UIUtil.LAYOUT_FORM ) {
				return true;
			} else {
				return false;
			}
		}
		
		protected function nodeDefinitionsSetter(value:IList):void {

	import org.openforis.collect.ui.component.detail.CollectFormItem;
	import org.openforis.collect.ui.component.detail.InnerFormContainer;
	import org.openforis.collect.ui.component.detail.MultipleEntityAsTableFormItem;
	import org.openforis.collect.ui.component.detail.TabbedFormContainer;
	import org.openforis.collect.util.UIUtil;
	
	/**
