<commit_before><%= form_for(@map) do |f| %>
  <% if @map.errors.any? %>
    <div id="error_explanation">
      <h2><%= pluralize(@map.errors.count, "error") %> prohibited this map from being saved:</h2>

      <ul>
      <% @map.errors.full_messages.each do |msg| %>
        <li><%= msg %></li>
      <% end %>
      </ul>
    </div>
  <% end %>

  <div class="field">
    <%= f.label :name %><br />
    <%= f.text_field :name %>
  </div>
  <div class="field">
    <%= f.label :from %><br />
    <%= f.text_field :from %>
  </div>
  <div class="field">
    <%= f.label :to %><br />
    <%= f.text_field :to %>
  </div>
  <div class="field">
    <%= f.label :attr %><br />
    <%= f.text_field :attr %>
  </div>
  <div class="actions">
    <%= f.submit %>
  </div>
<% end %><commit_msg>grid layout for map form<commit_after><%= form_for(@map) do |f| %>
  <% if @map.errors.any? %>
    <div id="error_explanation">
      <h2><%= pluralize(@map.errors.count, "error") %> prohibited this map from being saved:</h2>

      <ul>
      <% @map.errors.full_messages.each do |msg| %>
        <li><%= msg %></li>
      <% end %>
      </ul>
    </div>
  <% end %>

  <table border=0 cellpadding="0" cellspacing="5">
    <tr>
      <td>
        <div class="field">
          <%= f.label :name, "Map name" %><br />
          <%= f.text_field :name %>
        </div>
      </td>
      <td>
        <div class="field">
          <%= f.label :attr, "Field name" %><br />
          <%= f.text_field :attr %>
        </div>
      </td>
    </tr>
    <tr>
      <td>
        <div class="field">
          <%= f.label :from, "From name" %><br />
          <%= f.text_field :from %>
        </div>
      </td>
      <td>
        <div class="field">
          <%= f.label :to, "To name" %><br />
          <%= f.text_field :to %>
        </div>
      </td>
    </tr>
  </table>
  <div class="actions">
    <%= f.submit %>
  </div>
<% end %>
{'fraction_non_alphanumeric': 0.23553934340802501, 'fraction_numerical': 0.0036477331943720686, 'mean_word_length': 1.8959276018099547, 'pattern_counts': {'":': 0, '<': 95, '<?xml version=': 0, '>': 95, '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': '6944886', 'n_tokens_mistral': 781, 'n_tokens_neox': 714, 'n_words': 159}