<commit_before><%= content_tag_for :tr, registration do %>
  <td><%= registration.name %></td>
  <td><%= registration.email %></td>
  <td><%= registration.access_levels.first.try :name %></td>
  <td><%= registration.try :comment %></td>
  <td><%= registration.payment_code %></td>
  <td>
    <%= form_for [registration.event, registration], method: :patch, remote: true, html: { class: 'inline-form' } do |f| %>

      <div class="input-group input-group-sm <%= f.object.is_paid ? 'has-success' : 'has-error' %>">
        <span class="input-group-addon">&euro;</span>
        <%= f.text_field :to_pay, value: number_with_precision(f.object.to_pay, precision: 2), disabled: true, class: 'disabling registration-paid form-control' %><commit_msg>There is no try, only do<commit_after><%= content_tag_for :tr, registration do %>
  <td><%= registration.name %></td>
  <td><%= registration.email %></td>
  <td><%= registration.access_levels.first.try :name %></td>
  <td><%= registration.comment %></td>
  <td><%= registration.payment_code %></td>
  <td>
    <%= form_for [registration.event, registration], method: :patch, remote: true, html: { class: 'inline-form' } do |f| %>

      <div class="input-group input-group-sm <%= f.object.is_paid ? 'has-success' : 'has-error' %>">
        <span class="input-group-addon">&euro;</span>
        <%= f.text_field :to_pay, value: number_with_precision(f.object.to_pay, precision: 2), disabled: true, class: 'disabling registration-paid form-control' %>
{'fraction_non_alphanumeric': 0.20509383378016086, 'fraction_numerical': 0.0013404825737265416, 'mean_word_length': 4.509225092250922, 'pattern_counts': {'":': 0, '<': 49, '<?xml version=': 0, '>': 49, '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': '3628575', 'n_tokens_mistral': 534, 'n_tokens_neox': 496, 'n_words': 114}