<commit_before><?xml version="1.0" encoding="utf-8"?>
<detail:SingleAttributeFormItem xmlns:fx="http://ns.adobe.com/mxml/2009" 
								xmlns:s="library://ns.adobe.com/flex/spark" 
								xmlns:mx="library://ns.adobe.com/flex/mx" 
								xmlns:detail="org.openforis.collect.ui.component.detail.*">
	<fx:Script>
		<![CDATA[
			import org.openforis.collect.util.UIUtil;
		]]>
	</fx:Script>

	<detail:layout>
		<s:VerticalLayout gap="2" />
	</detail:layout>
	
	<detail:NodeLabel id="formItemLabel" 
					  nodeDefinition="{attributeDefinition}"
					  width="{labelWidth}"
					  includeInLayout="{attributeDefinition.parent.layout == UIUtil.LAYOUT_FORM}"
					  visible="{attributeDefinition.parent.layout == UIUtil.LAYOUT_FORM}"
					  />
	
	<s:HGroup gap="0">
		<s:Spacer width="20" />
		<s:Group id="contentGroup" />
	</s:HGroup>
	
</detail:SingleAttributeFormItem><commit_msg>Show spacer only when parent layout is "form"<commit_after><?xml version="1.0" encoding="utf-8"?>
<detail:SingleAttributeFormItem xmlns:fx="http://ns.adobe.com/mxml/2009" 
								xmlns:s="library://ns.adobe.com/flex/spark" 
								xmlns:mx="library://ns.adobe.com/flex/mx" 
								xmlns:detail="org.openforis.collect.ui.component.detail.*">
	<fx:Script>
		<![CDATA[
			import org.openforis.collect.util.UIUtil;
		]]>
	</fx:Script>

	<detail:layout>
		<s:VerticalLayout gap="2" />
	</detail:layout>
	
	<detail:NodeLabel id="formItemLabel" 
					  nodeDefinition="{attributeDefinition}"
					  width="{labelWidth}"
					  includeInLayout="{attributeDefinition.parentLayout == UIUtil.LAYOUT_FORM}"
					  visible="{attributeDefinition.parentLayout == UIUtil.LAYOUT_FORM}"
					  />
	
	<s:HGroup gap="0">
		<s:Spacer width="20"
				  includeInLayout="{attributeDefinition.parentLayout == UIUtil.LAYOUT_FORM}"
				  visible="{attributeDefinition.parentLayout == UIUtil.LAYOUT_FORM}"
				  />
		<s:Group id="contentGroup" />
	</s:HGroup>
	
</detail:SingleAttributeFormItem>
{'fraction_non_alphanumeric': 0.17333333333333334, 'fraction_numerical': 0.011282051282051283, 'mean_word_length': 4.13421052631579, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 2, '>': 31, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 12}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1799884', 'n_tokens_mistral': 810, 'n_tokens_neox': 652, 'n_words': 76}