<commit_before><div class="textfield field row"
	 ng-click="setActiveField(field._id, index, true)">
	<div class="col-xs-12 field-title row-fluid" ng-style="{'color': design.colors.questionColor}">
    	<h3 class="col-xs-12">
    		<small class="field-number">
				{{index+1}}
				<i class="fa fa-angle-double-right" aria-hidden="true"></i>
			</small>

			{{field.title}}

    		<span class="required-error" ng-show="!field.required">
    			({{ 'OPTIONAL' | translate }})
    		</span>
    	</h3>

		<p class="col-xs-12">
			<small>{{field.description}}</small>
		</p>
    </div>
    <div class="col-xs-12 field-input">
		<input ng-style="{'color': design.colors.answerColor, 'border-color': design.colors.answerColor}"
			name="{{field.fieldType}}{{index}}"
            type="{{input_type}}"
		   	ng-pattern="validateRegex"
			placeholder="{{placeholder}}"
			ng-class="{ 'no-border': !!field.fieldValue }"
            class="focusOn text-field-input"
			ng-model="field.fieldValue"
			ng-model-options="{ debounce: 250 }"
			value="field.fieldValue"
		    ng-focus="setActiveField(field._id, index, true)"
		   	on-enter-or-tab-key="nextField()"
		   	on-tab-and-shift-key="prevField()"
			ng-required="field.required"
			ng-disabled="field.disabled"
	        aria-describedby="inputError2Status"/ >
    </div>
    <div class="col-xs-12">
        <div ng-show="forms.myForm.{{field.fieldType}}{{index}}.$invalid && !!forms.myForm.{{field.fieldType}}{{index}}.$viewValue " class="alert alert-danger" role="alert">
            <span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true"></span>
            <span class="sr-only">Error:</span>
			<span ng-if="field.fieldType == 'email'"> {{ 'ERROR_EMAIL_INVALID' | translate }} </span>
			<span ng-if="field.validateRegex"> {{ 'ERROR_NOT_A_NUMBER' | translate }} </span>
			<span ng-if="field.fieldType == 'link'"> {{ 'ERROR_URL_INVALID' | translate }} </span>
        </div>
    </div>
</div>
<div>
	<div class="btn btn-lg btn-default col-xs-12 col-sm-4 hidden-xs"
	 	style="padding: 4px; margin-top:8px; background: rgba(255,255,255,0.5)"><commit_msg>Fix warning on html2js grunt tasks<commit_after><div class="textfield field row"
	 ng-click="setActiveField(field._id, index, true)">
	<div class="col-xs-12 field-title row-fluid" ng-style="{'color': design.colors.questionColor}">
    	<h3 class="col-xs-12">
    		<small class="field-number">
				{{index+1}}
				<i class="fa fa-angle-double-right" aria-hidden="true"></i>
			</small>

			{{field.title}}

    		<span class="required-error" ng-show="!field.required">
    			({{ 'OPTIONAL' | translate }})
    		</span>
    	</h3>

		<p class="col-xs-12">
			<small>{{field.description}}</small>
		</p>
    </div>
    <div class="col-xs-12 field-input">
		<input ng-style="{'color': design.colors.answerColor, 'border-color': design.colors.answerColor}"
			name="{{field.fieldType}}{{index}}"
            type="{{input_type}}"
		   	ng-pattern="validateRegex"
			placeholder="{{placeholder}}"
			ng-class="{ 'no-border': !!field.fieldValue }"
            class="focusOn text-field-input"
			ng-model="field.fieldValue"
			ng-model-options="{ debounce: 250 }"
			value="field.fieldValue"
		    ng-focus="setActiveField(field._id, index, true)"
		   	on-enter-or-tab-key="nextField()"
		   	on-tab-and-shift-key="prevField()"
			ng-required="field.required"
			ng-disabled="field.disabled"
	        aria-describedby="inputError2Status" />
    </div>
    <div class="col-xs-12">
        <div ng-show="forms.myForm.{{field.fieldType}}{{index}}.$invalid && !!forms.myForm.{{field.fieldType}}{{index}}.$viewValue " class="alert alert-danger" role="alert">
            <span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true"></span>
            <span class="sr-only">Error:</span>
			<span ng-if="field.fieldType == 'email'"> {{ 'ERROR_EMAIL_INVALID' | translate }} </span>
			<span ng-if="field.validateRegex"> {{ 'ERROR_NOT_A_NUMBER' | translate }} </span>
			<span ng-if="field.fieldType == 'link'"> {{ 'ERROR_URL_INVALID' | translate }} </span>
        </div>
    </div>
</div>
<div>
	<div class="btn btn-lg btn-default col-xs-12 col-sm-4 hidden-xs"
	 	style="padding: 4px; margin-top:8px; background: rgba(255,255,255,0.5)">
{'fraction_non_alphanumeric': 0.20550199858923113, 'fraction_numerical': 0.015753585704208792, 'mean_word_length': 3.623913043478261, 'pattern_counts': {'":': 0, '<': 73, '<?xml version=': 0, '>': 73, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '5397727', 'n_tokens_mistral': 1627, 'n_tokens_neox': 1454, 'n_words': 232}