<commit_before><%@ include file="/WEB-INF/include.jsp"  %>
<div class="row">
  <div class="col-xs-12 col-sm-8 col-md-6 col-lg-4">
<form:form method="post" commandName="${domainClass.getLowerIdentifier()}" action="save${pathExtension}" role="form">
    <fieldset>
    <legend>${domainClass.getIdentifier()}</legend>
#foreach( $classVariable in $domainClass.listAll() )

 #if ( $domainClass.isUsesCompositeKey() && $classVariable.isPrimary() )
  #foreach( $a in $domainClass.getEntity().getPrimaryKeyAttributes() )
    #if ( $a.isForeign() )
    #else
      #set( $path = "id." + $a.getLowerLabel() )
	  #set( $label = $a.getLowerLabel() )
	  #if ( $deOb )
	    #set( $label = "${esc.d}{ " + ${domainClass.getSchema().getLowerLabel()} + ":deobfuscateColumn ( '"+ ${domainClass.getTableName()} + "', '" + ${a.getSqlLabel()} + "') }" )
	  #end
	  <spring:bind path="${path}">        
	     <div class="form-group ${esc.d}{status.error ? 'has-error' : ''}">
	      <label for="${path}" style="display: inline;">$label
		      <form:input path="${path}"  class="form-control"/>
		      <form:errors path="${path}" class="help-block"/>
		  </label>
		 </div>
		</spring:bind>	
	#end
  #end
 #else
  #set( $path = $classVariable.getIdentifier() )
  #if ( $classVariable.getAttribType() == "FOREIGNATTRIBUTE" )
    #set( $path = $classVariable.getIdentifier() + "." + $classVariable.getDomainClass().getPrimaryKeys().iterator().next().getLowerIdentifier() )
  #end

  #set( $label = $classVariable.getUpperIdentifier() )
  #if ( $deOb )
    #set( $label = "${esc.d}{ " + ${domainClass.getSchema().getLowerLabel()} + ":deobfuscateColumn ( '"+ ${domainClass.getTableName()} + "', '" + ${classVariable.getAttribute().getSqlLabel()} + "') }" )
  #end

  #if ( $classVariable.isPrimary() ) 
	<form:hidden path="${path}" />
  #elseif ($classVariable.getAttribType() == "CHILD")	
  #else
    <spring:bind path="${path}">        
	     <div class="form-group ${esc.d}{status.error ? 'has-error' : ''}">
	      <label for="${path}">$label</label>
	 #if ( $classVariable.getAttribType() == "FOREIGNATTRIBUTE" )
	      <form:select path="${path}" items="${esc.d}{${classVariable.getDomainClass().getLowerIdentifier()}List}" itemValue="${classVariable.getDomainClass().getPrimaryKeys().iterator().next().getLowerIdentifier()}" itemLabel="${classVariable.getDomainClass().getPrimaryKeys().iterator().next().getLowerIdentifier()}" class="form-control"/>
	 #else     
	      <form:input path="${path}"  class="form-control#if ( $classVariable.getType().equalsIgnoreCase( "date" ) ) dateinput #end"/>
	 #end
	      <form:errors path="${path}" class="help-block"/>
	     </div>
	</spring:bind>	
  #end         
 #end
#end 
    <input type="submit" value="Save" class="btn btn-primary" />
    <a class="btn btn-default" href="list${pathExtension}">Cancel</a>
    </fieldset>
</form:form>
</div>
</div><commit_msg>updated bootstrap grid spacing for forms<commit_after><%@ include file="/WEB-INF/include.jsp"  %>
<div class="row">
  <div class="col-xs-12 col-sm-8 col-md-5 col-lg-4">
<form:form method="post" commandName="${domainClass.getLowerIdentifier()}" action="save${pathExtension}" role="form">
    <fieldset>
    <legend>${domainClass.getIdentifier()}</legend>
#foreach( $classVariable in $domainClass.listAll() )

 #if ( $domainClass.isUsesCompositeKey() && $classVariable.isPrimary() )
  #foreach( $a in $domainClass.getEntity().getPrimaryKeyAttributes() )
    #if ( $a.isForeign() )
    #else
      #set( $path = "id." + $a.getLowerLabel() )
	  #set( $label = $a.getLowerLabel() )
	  #if ( $deOb )
	    #set( $label = "${esc.d}{ " + ${domainClass.getSchema().getLowerLabel()} + ":deobfuscateColumn ( '"+ ${domainClass.getTableName()} + "', '" + ${a.getSqlLabel()} + "') }" )
	  #end
	  <spring:bind path="${path}">        
	     <div class="form-group ${esc.d}{status.error ? 'has-error' : ''}">
	      <label for="${path}" style="display: inline;">$label
		      <form:input path="${path}"  class="form-control"/>
		      <form:errors path="${path}" class="help-block"/>
		  </label>
		 </div>
		</spring:bind>	
	#end
  #end
 #else
  #set( $path = $classVariable.getIdentifier() )
  #if ( $classVariable.getAttribType() == "FOREIGNATTRIBUTE" )
    #set( $path = $classVariable.getIdentifier() + "." + $classVariable.getDomainClass().getPrimaryKeys().iterator().next().getLowerIdentifier() )
  #end

  #set( $label = $classVariable.getUpperIdentifier() )
  #if ( $deOb )
    #set( $label = "${esc.d}{ " + ${domainClass.getSchema().getLowerLabel()} + ":deobfuscateColumn ( '"+ ${domainClass.getTableName()} + "', '" + ${classVariable.getAttribute().getSqlLabel()} + "') }" )
  #end

  #if ( $classVariable.isPrimary() ) 
	<form:hidden path="${path}" />
  #elseif ($classVariable.getAttribType() == "CHILD")	
  #else
    <spring:bind path="${path}">        
	     <div class="form-group ${esc.d}{status.error ? 'has-error' : ''}">
	      <label for="${path}">$label</label>
	 #if ( $classVariable.getAttribType() == "FOREIGNATTRIBUTE" )
	      <form:select path="${path}" items="${esc.d}{${classVariable.getDomainClass().getLowerIdentifier()}List}" itemValue="${classVariable.getDomainClass().getPrimaryKeys().iterator().next().getLowerIdentifier()}" itemLabel="${classVariable.getDomainClass().getPrimaryKeys().iterator().next().getLowerIdentifier()}" class="form-control"/>
	 #else     
	      <form:input path="${path}"  class="form-control#if ( $classVariable.getType().equalsIgnoreCase( "date" ) ) dateinput #end"/>
	 #end
	      <form:errors path="${path}" class="help-block"/>
	     </div>
	</spring:bind>	
  #end         
 #end
#end 
    <input type="submit" value="Save" class="btn btn-primary" />
    <a class="btn btn-default" href="list${pathExtension}">Cancel</a>
    </fieldset>
</form:form>
</div>
</div>
{'fraction_non_alphanumeric': 0.22279703397137438, 'fraction_numerical': 0.001724435247456458, 'mean_word_length': 4.360443622920518, 'pattern_counts': {'":': 4, '<': 67, '<?xml version=': 0, '>': 67, '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': '6978730', 'n_tokens_mistral': 1963, 'n_tokens_neox': 1918, 'n_words': 302}