<commit_before><head>
  <title><g:message code='spring.security.ui.resetPassword.title'/>
  </title>
  <meta name='layout' content='generatedViews'/>
</head>

<body>
<content tag="content">
  <p/>

  <div class="nav">
    <span class="menuButton"><a class="home"
                                href="${createLink(uri: '/')}">Home</a></span>
  </div>

  <div class="body">

    <g:if test="${flash.message}">
      <div class="message">
        ${flash.message}
      </div>
    </g:if>
    <g:hasErrors bean="${command}">
      <div class="errors">
        <g:renderErrors bean="${command}" as="list"/>
      </div>
    </g:hasErrors>

    <div class="dialog">

      <g:form action='changePassword' name='changePasswordForm' autocomplete='off'>

        <g:hiddenField name='username' value="${command.username}"/>

        <div class="sign-in">
          <br/>

          <h1>
            <g:message code='spring.security.ui.resetPassword.description'/>
          </h1>

          <table>

            <tr class="prop">
              <td valign="top" class="name"><label for="password"><g:message
                  code="changePasswordCommand.password.label" default="Password"/>
              </label>
              </td>
              <td valign="top"
                  class="value ${hasErrors(bean: command, field: 'password', 'errors')}">
                <g:passwordField name='password'
                                 labelCode='changePasswordCommand.password.label'
                                 bean="${command}" size='40' labelCodeDefault='Password'
                                 value="${command.password}"/>
              </td>
            </tr>

            <tr class="prop">
              <td valign="top" class="name"><label for="password2"><g:message
                  code="changePasswordCommand.password2.label"
                  default="Password (again)"/></label>
              </td>
              <td valign="top"
                  class="value ${hasErrors(bean: command, field: 'password2', 'errors')}">
                <g:passwordField name='password2'
                                 labelCode='changePasswordCommand.password2.label'
                                 bean="${command}" size='40' labelCodeDefault='Password (again)'
                                 value="${command.password2}"/>
              </td>
            </tr>

          </table>

        </div>

      </g:form>
    </div>

    <div class="buttons">
      <span class="button">
        <g:actionSubmit class="save" action="changePassword"
                        value="${message(code: 'default.button.update.label', default: 'Update')}"/>
      </span>
    </div>

  </div>
</content>
</body>
</html><commit_msg>Submit button was outside of the form.   Whoops!<commit_after><head>
  <title><g:message code='spring.security.ui.resetPassword.title'/>
  </title>
  <meta name='layout' content='generatedViews'/>
</head>

<body>
<content tag="content">
  <p/>

  <div class="nav">
    <span class="menuButton"><a class="home"
                                href="${createLink(uri: '/')}">Home</a></span>
  </div>

  <div class="body">

    <g:if test="${flash.message}">
      <div class="message">
        ${flash.message}
      </div>
    </g:if>
    <g:hasErrors bean="${command}">
      <div class="errors">
        <g:renderErrors bean="${command}" as="list"/>
      </div>
    </g:hasErrors>


    <g:form action='changePassword' name='changePasswordForm' autocomplete='off'>

      <g:hiddenField name='username' value="${command.username}"/>

      <div class="sign-in">
        <br/>

        <h1>
          <g:message code='spring.security.ui.resetPassword.description'/>
        </h1>

        <div class="dialog">
          <table>

            <tr class="prop">
              <td valign="top" class="name"><label for="password"><g:message
                  code="changePasswordCommand.password.label" default="Password"/>
              </label>
              </td>
              <td valign="top"
                  class="value ${hasErrors(bean: command, field: 'password', 'errors')}">
                <g:passwordField name='password'
                                 labelCode='changePasswordCommand.password.label'
                                 bean="${command}" size='40' labelCodeDefault='Password'
                                 value="${command.password}"/>
              </td>
            </tr>

            <tr class="prop">
              <td valign="top" class="name"><label for="password2"><g:message
                  code="changePasswordCommand.password2.label"
                  default="Password (again)"/></label>
              </td>
              <td valign="top"
                  class="value ${hasErrors(bean: command, field: 'password2', 'errors')}">
                <g:passwordField name='password2'
                                 labelCode='changePasswordCommand.password2.label'
                                 bean="${command}" size='40' labelCodeDefault='Password (again)'
                                 value="${command.password2}"/>
              </td>
            </tr>

          </table>
        </div>

        <div class="buttons">
          <span class="button">
            <g:actionSubmit class="save" action="changePassword"
                            value="${message(code: 'default.button.update.label', default: 'Update')}"/>
          </span>
        </div>

      </div>

    </g:form>

  </div>
</content>
</body>
</html>
{'fraction_non_alphanumeric': 0.1688808007279345, 'fraction_numerical': 0.004367606915377616, 'mean_word_length': 1.7884322678843227, 'pattern_counts': {'":': 0, '<': 137, '<?xml version=': 0, '>': 137, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 12, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3406295', 'n_tokens_mistral': 1525, 'n_tokens_neox': 1461, 'n_words': 268}