<commit_before>- @title = "Welcome"
- @bodyclass = "invitation"

.panel.panel-small
  h2 Welcome to Heroku
  form method="post" action="/account/accept/ok"
    input type="hidden" name="id" value=@id
    input type="hidden" name="token" value=@token
    input type="hidden" name=Rack::Csrf.field value=Rack::Csrf.token(env)
    .overview
      - if @user["invited_by"] && @user["invited_by"]["email"]
        p You were invited to try Heroku by #{@user["invited_by"]["email"]}.
      p Enter a password and you'll be up and running right away.
    fieldset
      .field
        label Email
        input.text type="text" disabled="true" value=@user["email"] size="30"
      .field.password
        label for="user_password" Password
        input#user_password.text type="password" name="password" size="30"
        span.hint minimum 6 characters letters,<br>numbers, and symbols
      .field
        label for="user_password_confirmation" Confirm Password
        input#user_password_confirmation.text type="password" name="password_confirmation" size="30"
      .field.newsletter
        input#receive_newsletter type="checkbox" name="receive_newsletter" checked="true"
        label for="receive_newsletter" Sign me up for Heroku email – we'll send you our latest updates, newsletters, events and more.
    fieldset.submit
      p#terms Signing up signifies that you have read and agree to the <a href="https://www.heroku.com/policy/tos">Terms of Service</a> and <a href="https://www.heroku.com/policy/privacy">Privacy Policy</a>.
      input#change_passwd.submit.disabled type="submit" value="Save"
coffee:
  if typeof(mixpanel) != 'undefined'
    mixpanel.alias('#{@user["id"]}')
    mixpanel.track('viewed password page')
    mixpanel.people.identify('#{@user["id"]}')
    mixpanel.people.set
      '$email': '#{@user["email"]}',
      '$created': '#{@user["created_at"]}'
<commit_msg>change default on receive newsletter checkbox to be false<commit_after>- @title = "Welcome"
- @bodyclass = "invitation"

.panel.panel-small
  h2 Welcome to Heroku
  form method="post" action="/account/accept/ok"
    input type="hidden" name="id" value=@id
    input type="hidden" name="token" value=@token
    input type="hidden" name=Rack::Csrf.field value=Rack::Csrf.token(env)
    .overview
      - if @user["invited_by"] && @user["invited_by"]["email"]
        p You were invited to try Heroku by #{@user["invited_by"]["email"]}.
      p Enter a password and you'll be up and running right away.
    fieldset
      .field
        label Email
        input.text type="text" disabled="true" value=@user["email"] size="30"
      .field.password
        label for="user_password" Password
        input#user_password.text type="password" name="password" size="30"
        span.hint minimum 6 characters letters,<br>numbers, and symbols
      .field
        label for="user_password_confirmation" Confirm Password
        input#user_password_confirmation.text type="password" name="password_confirmation" size="30"
      .field.newsletter
        input#receive_newsletter type="checkbox" name="receive_newsletter" checked="false"
        label for="receive_newsletter" Sign me up for Heroku email – we'll send you our latest updates, newsletters, events and more.
    fieldset.submit
      p#terms Signing up signifies that you have read and agree to the <a href="https://www.heroku.com/policy/tos">Terms of Service</a> and <a href="https://www.heroku.com/policy/privacy">Privacy Policy</a>.
      input#change_passwd.submit.disabled type="submit" value="Save"
coffee:
  if typeof(mixpanel) != 'undefined'
    mixpanel.alias('#{@user["id"]}')
    mixpanel.track('viewed password page')
    mixpanel.people.identify('#{@user["id"]}')
    mixpanel.people.set
      '$email': '#{@user["email"]}',
      '$created': '#{@user["created_at"]}'

{'fraction_non_alphanumeric': 0.14214789652469298, 'fraction_numerical': 0.004180820486020381, 'mean_word_length': 3.888888888888889, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 4, 'lorem ipsum': 0, 'www.': 4, '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': '3188800', 'n_tokens_mistral': 1189, 'n_tokens_neox': 1156, 'n_words': 298}