<commit_before>.small-12.panel.mainContent

  %h3.pagetitle= @title

  .small-12.columns   
    = simple_form_for(@user, method: :put, :url => update_profile_users_path(@user)) do |f|

      .small-3.columns.text-center.panel
        %label.left.bold Your Avatar
        %img{:src => @user.avatar_file_name, :width => 200, :height => 200 }
        %p
        .form_label
          = f.file_field :avatar_file_name

      .small-9.columns.columns-no-padding_right 
        
        
        .panel
          .small-12.large-4.columns
            = f.input :first_name

          .small-12.large-4.columns
            = f.input :last_name

          .small-12.large-4.columns
            = f.input :email

          - if ! @user.kerberos_uid.present?
            .small-12.large-4.columns
              = f.label :password
              = f.password_field :password, :as => :password

            .small-12.large-4.columns
              = f.label :password_confirmation
              = f.password_field :password_confirmation, :as => :password

          - if @user.is_student?(current_course)
            - if current_course.teams_visible? && (current_course.in_team_leaderboard? || (current_student.team_for_course(current_course).present? && current_student.team_for_course(current_course).in_team_leaderboard?))
              .small-12.large-4.columns
                = f.label :display_name, "Pseudonym"
                = f.text_field :display_name
                .form_label What would you like your name to be on the leaderboards?
            - if current_course.team_roles?
              .small-12.large-4.columns
                = f.label :team_role, "#{term_for :team} Role"
                = f.text_field :team_role
                .form_label What will you contribute to your #{term_for :team}?"

          .small-12.medium-4.columns
            = f.input :default_course_id, :collection => (@default_course_options)
            .form_label This course will be automatically loaded when you log in to GradeCraft


          - if @user.is_student?(current_course) && current_course.character_profiles?
            = f.simple_fields_for :course_memberships, @course_membership do |p|
              .small-12.large-4.columns
                = p.input :character_profile, :label => "Character Profile", :hint => "This will be displayed on the #{term_for :team} leaderboard"<commit_msg>Turned off ability for students to edit their names and email addresses directly<commit_after>.small-12.panel.mainContent

  %h3.pagetitle= @title

  .small-12.columns   
    = simple_form_for(@user, method: :put, :url => update_profile_users_path(@user)) do |f|

      .small-3.columns.text-center.panel
        %label.left.bold Your Avatar
        %img{:src => @user.avatar_file_name, :width => 200, :height => 200 }
        %p
        .form_label
          = f.file_field :avatar_file_name

      .small-9.columns.columns-no-padding_right 
        
        
        .panel

          - if ! @user.kerberos_uid.present?
            .small-12.large-4.columns
              = f.label :password
              = f.password_field :password, :as => :password

            .small-12.large-4.columns
              = f.label :password_confirmation
              = f.password_field :password_confirmation, :as => :password

          - if @user.is_student?(current_course)
            - if current_course.teams_visible? && (current_course.in_team_leaderboard? || (current_student.team_for_course(current_course).present? && current_student.team_for_course(current_course).in_team_leaderboard?))
              .small-12.large-4.columns
                = f.label :display_name, "Pseudonym"
                = f.text_field :display_name
                .form_label What would you like your name to be on the leaderboards?
            - if current_course.team_roles?
              .small-12.large-4.columns
                = f.label :team_role, "#{term_for :team} Role"
                = f.text_field :team_role
                .form_label What will you contribute to your #{term_for :team}?"

          .small-12.medium-4.columns
            = f.input :default_course_id, :collection => (@default_course_options)
            .form_label This course will be automatically loaded when you log in to GradeCraft


          - if @user.is_student?(current_course) && current_course.character_profiles?
            = f.simple_fields_for :course_memberships, @course_membership do |p|
              .small-12.large-4.columns
                = p.input :character_profile, :label => "Character Profile", :hint => "This will be displayed on the #{term_for :team} leaderboard"
{'fraction_non_alphanumeric': 0.10721205597416578, 'fraction_numerical': 0.015285252960172227, 'mean_word_length': 2.1413116970926303, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 21, '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': '6872767', 'n_tokens_mistral': 1433, 'n_tokens_neox': 1359, 'n_words': 278}