<commit_before>- body_class "users_view"
= render 'shared/navi_bar'

%div.container-fluid
  %div.row
    %div.span5
      %h2= "Welcome"
      %p
        %strong= "Email: #{@user.email}"
      -if @application
        %p    
          %strong="Application Type: #{@type}"
        %p
          %strong="Application Year: #{@year}"
        %p
          %strong="Application Status: #{@status}"
      -else
        %p Please take survey below to determine your application type.
      = button_to "Edit Profile", edit_user_registration_path, {method: :get}
      = button_to "Logout", destroy_user_session_path, {:id => "logout_button", method: :delete}
    %div.span5
      -if @application
        %h3= "Application Forms"
        %ul<commit_msg>updated payment view<commit_after>- body_class "users_view"
= render 'shared/navi_bar'

%div.container-fluid
  %div.row
    %div.span5
      %h2= "Welcome"
      %p
        %strong= "Email: #{@user.email}"
      -if @application
        %p    
          %strong="Application Type: #{@type}"
        %p
          %strong="Application Year: #{@year}"
        %p
          %strong="Application Status: #{@status}"
        %p
          %strong="Amount Paid: $#{@application.amount_paid}"
        -unless @application.hasPaid?
          %br= button_to 'Pay Now', submit_payment_user_path(@user), {:id => 'submit_payment_button', method: :post}
      -else
        %p Please take survey below to determine your application type.
      = button_to "Edit Profile", edit_user_registration_path, {method: :get}
      = button_to "Logout", destroy_user_session_path, {:id => "logout_button", method: :delete}
    %div.span5
      -if @application
        %h3= "Application Forms"
        %ul
{'fraction_non_alphanumeric': 0.13623188405797101, 'fraction_numerical': 0.00463768115942029, 'mean_word_length': 2.508130081300813, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 6, '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': '2464555', 'n_tokens_mistral': 549, 'n_tokens_neox': 535, 'n_words': 134}