<commit_before><%= render :partial => 'navigation'  %>
<h2>Edit your profile </h2>
<% form_tag do %>
    <table>
    <tr>
      <td><%=  t :real_name %></td>
      <td><%= text_field_tag :feed_real_name, Kopal[:feed_real_name] %></td>
    </tr>
    <tr>
      <td><%= t :aliases %></td>
      <td><%= text_area_tag :feed_aliases, Kopal[:feed_aliases]
        %></td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td>(<%= t :separate_aliases_by_newline %>)</td>
    </tr>
    <tr>
      <td><%= t :preferred_calling_name %></td>
      <td><%= select_tag :feed_preferred_calling_name,
        options_for_select(Kopal[:feed_aliases].to_s.to_a("\n").
          unshift(Kopal[:feed_real_name].to_s).map {|s| s.strip},
          Kopal[:feed_preferred_calling_name]) %></td>
    </tr>
    <tr>
      <td><%= t(:status_message) %></td>
      <td><%= text_area_tag :user_status_message, Kopal["user_status_message"] %></td>
    </tr>
    <tr>
      <td><%= t :about_me %></td>
      <td><%= text_area_tag :feed_description, Kopal["feed_description"] %></td>
    </tr>
    <tr>
      <td><%= t :gender %></td>
      <td><%= select_tag :feed_gender, options_for_select({t(:male) => :male, t(:female) => :female},
        Kopal["feed_gender"]) %></td>
    </tr>
    <tr>
      <td><%= t :date_of_birth %></td>
      <td><%= date_select :feed_birth_time, nil,
            :order => [:day, :month, :year], :start_year => Time.now.year-140,
            :end_year => Time.now.year,
            :default => Kopal["feed_birth_time"] %></td>
    </tr>
    <tr>
      <td><%= t :show_date_of_birth %>?</td>
      <td><%= select_tag :feed_birth_time_pref,
        options_for_select({:ymd => t(:show_full_dob), :y => t(:show_only_age),<commit_msg>Ruby 1.8.6 does not supports String#to_a with 1 argument.<commit_after><%= render :partial => 'navigation'  %>
<h2>Edit your profile </h2>
<% form_tag do %>
    <table>
    <tr>
      <td><%=  t :real_name %></td>
      <td><%= text_field_tag :feed_real_name, Kopal[:feed_real_name] %></td>
    </tr>
    <tr>
      <td><%= t :aliases %></td>
      <td><%= text_area_tag :feed_aliases, Kopal[:feed_aliases]
        %></td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td>(<%= t :separate_aliases_by_newline %>)</td>
    </tr>
    <tr>
      <td><%= t :preferred_calling_name %></td>
      <td><%= select_tag :feed_preferred_calling_name,
        options_for_select(Kopal[:feed_aliases].to_s.split("\n").
          unshift(Kopal[:feed_real_name].to_s).map {|s| s.strip},
          Kopal[:feed_preferred_calling_name]) %></td>
    </tr>
    <tr>
      <td><%= t(:status_message) %></td>
      <td><%= text_area_tag :user_status_message, Kopal["user_status_message"] %></td>
    </tr>
    <tr>
      <td><%= t :about_me %></td>
      <td><%= text_area_tag :feed_description, Kopal["feed_description"] %></td>
    </tr>
    <tr>
      <td><%= t :gender %></td>
      <td><%= select_tag :feed_gender, options_for_select({t(:male) => :male, t(:female) => :female},
        Kopal["feed_gender"]) %></td>
    </tr>
    <tr>
      <td><%= t :date_of_birth %></td>
      <td><%= date_select :feed_birth_time, nil,
            :order => [:day, :month, :year], :start_year => Time.now.year-140,
            :end_year => Time.now.year,
            :default => Kopal["feed_birth_time"] %></td>
    </tr>
    <tr>
      <td><%= t :show_date_of_birth %>?</td>
      <td><%= select_tag :feed_birth_time_pref,
        options_for_select({:ymd => t(:show_full_dob), :y => t(:show_only_age),
{'fraction_non_alphanumeric': 0.21866971167570654, 'fraction_numerical': 0.003996574364830145, 'mean_word_length': 2.9020044543429844, 'pattern_counts': {'":': 0, '<': 151, '<?xml version=': 0, '>': 167, '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': '4215560', 'n_tokens_mistral': 1457, 'n_tokens_neox': 1370, 'n_words': 255}