<commit_before>div(class='registerForm' ng-controller='RegisterController as register', layout='column', layout-align='center center', layout-fill)
  form(class='registerBox md-whiteframe-z1' layout='column' name='registrationForm', method='post', ng-submit='register.submit()')
    md-content(class='md-padding', layout='column')
      md-input-container
        label(for='username') Username
        input(type='text' name='username' id='username' unique-username ng-model='register.username' required maxlength='10' minlength='4')
        div(ng-messages='registrationForm.username.$error')
            div(ng-message='unique') This username is already taken
        div(ng-messages='registrationForm.username.$error' ng-show='registrationForm.username.$dirty')
            div(ng-message='required') This field is required
      md-input-container
        label(for='email') Email
        input(type='email' name='email' id='email' ng-model='register.email' required)
        div(ng-messages='registrationForm.email.$error' ng-show='registrationForm.email.$dirty')
            div(ng-message='email') This is not a valid email
      md-input-container
        label Password
        input(type='password' name='password' ng-model='register.password' required match-password='<PASSWORD>')
      md-input-container
        label Repeat password
        input(type='password' name='repeat' ng-model='register.repeat' required match-password='password')
    md-toolbar(style='background-color: transparent')
      div(class='md-toolbar-tools', layout='row')
        md-button(flex, class='md-raised md-primary') Register
        div(flex)
        md-button(flex, href='#/login', md-no-ink, class='md-primary') Login<commit_msg>Update registration form<commit_after>div(class='registerForm' ng-controller='RegisterController as register', layout='column', layout-align='center center', layout-fill)
  form(class='registerBox md-whiteframe-z1' layout='column' name='registrationForm', method='post', ng-submit='register.submit()')
    md-content(class='md-padding', layout='column')
      md-input-container
        label(for='username') Username
        input(type='text' name='username' id='username' unique-username ng-model='register.username' required maxlength='30' minlength='4')
        div(ng-messages='registrationForm.username.$error')
            div(ng-message='unique') This username is already taken
        div(ng-messages='registrationForm.username.$error' ng-show='registrationForm.username.$dirty')
            div(ng-message='minlength') Your username must be between 4 and 30 characters long
      md-input-container
        label(for='email') Email
        input(type='email' name='email' id='email' ng-model='register.email' required)
        div(ng-messages='registrationForm.email.$error' ng-show='registrationForm.email.$dirty')
            div(ng-message='email') This is not a valid email
      md-input-container
        label Password
        input(type='password' name='password' ng-model='register.password' ng-pattern=/^\w+$/ required match-password='<PASSWORD>' maxlength='30' minlength='6')
        div(ng-messages='registrationForm.password.$error' ng-show='registrationForm.password.$dirty')
            div(ng-message='minlength') Your password must be between 6 and 30 characters long
            div(ng-message='pattern') Your password must contain digits and latin letters only
      md-input-container
        label Repeat password
        input(type='password' name='repeat' ng-model='register.repeat' required match-password='password')
        div(ng-messages='registrationForm.repeat.$error' ng-show='registrationForm.repeat.$dirty || registrationForm.password.$dirty')
            div(ng-message='match') The two passwords do not match
    md-toolbar(style='background-color: transparent')
      div(class='md-toolbar-tools', layout='row')
        md-button(flex, class='md-raised md-primary') Register
        div(flex)
        md-button(flex, href='#/login', md-no-ink, class='md-primary') Login
{'fraction_non_alphanumeric': 0.14469453376205788, 'fraction_numerical': 0.004204798417017067, 'mean_word_length': 4.138500635324015, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '4017266', 'n_tokens_mistral': 1104, 'n_tokens_neox': 1068, 'n_words': 221}