<commit_before>%p#display_password{:style=> (@user.new_record? or !@user.valid?) ? "display: none" : nil}
  %label Password
  %span.value
    &bull;&bull;&bull;&bull;&bull;
    %a.action{:href=>"#", :onclick=>" $('display_password').hide(); $('change_password').show()"} Change
.set#change_password{:style=> (@user.new_record? or @user.valid?) ? "display: none" : nil}
  %p
    = f.label :password, "<PASSWORD>"
    = f.password_field "password", :class => "textbox big", :value => "", :size => 15, :maxlength => 40
  %p
    = f.label :password_confirmation, "Confirm New Password"
    = f.password_field "password_confirmation", :class => "textbox big", :value => "", :size => 15, :maxlength => 40
    - unless @user.new_record?
      %span
        or
        %a{:href=>"#", :onclick=>" $('display_password').show(); $('change_password').hide()"} Cancel<commit_msg>show password fields with new user. Closes #74<commit_after>%p#display_password{:style=> (@user.new_record? or !@user.valid?) ? "display: none" : nil}
  %label Password
  %span.value
    &bull;&bull;&bull;&bull;&bull;
    %a.action{:href=>"#", :onclick=>" $('display_password').hide(); $('change_password').show()"} Change
.set#change_password{:style=> (!@user.new_record? && @user.valid?) ? "display: none" : nil}
  %p
    = f.label :password, "<PASSWORD>"
    = f.password_field "password", :class => "textbox big", :value => "", :size => 15, :maxlength => 40
  %p
    = f.label :password_confirmation, "Confirm New Password"
    = f.password_field "<PASSWORD>", :class => "textbox big", :value => "", :size => 15, :maxlength => 40
    - unless @user.new_record?
      %span
        or
        %a{:href=>"#", :onclick=>" $('display_password').show(); $('change_password').hide()"} Cancel
{'fraction_non_alphanumeric': 0.22165242165242166, 'fraction_numerical': 0.010256410256410256, 'mean_word_length': 4.504702194357367, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 34, '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': '7384138', 'n_tokens_mistral': 627, 'n_tokens_neox': 589, 'n_words': 129}