<commit_before><%= f.fields_for "#{element.element_type}_#{element.id}" do |e| %>
 
  
  
  
  
  
  <div class="image-container">
    <%= image_tag element.image.url if element.image_stored? %>
    <%= e.label :image, "Bilddatei" %> <div class="input"><%= e.file_field :image %></div>
  </div>
  <div style="margin-bottom: 5px;">
    <%= e.label :copyright, "Copyright" %> <div class="input"><%= e.text_field :copyright, :value => element.copyright %></div>
  </div>

  <div style="margin-bottom: 5px;">
    <%= e.label :alt_text, "ALT-Attribut" %> <div class="input"><%= e.text_field :alt_text, :value => element.alt_text %></div>
  </div>  

  <%= e.hidden_field :type, :value => element.element_type %>
  <%= e.hidden_field :id, :value => element.id %>
<% end %>
<hr /><commit_msg>whitespace<commit_after><%= f.fields_for "#{element.element_type}_#{element.id}" do |e| %>
  <div class="image-container">
    <%= image_tag element.image.url if element.image_stored? %>
    <%= e.label :image, "Bilddatei" %> <div class="input"><%= e.file_field :image %></div>
  </div>
  <div style="margin-bottom: 5px;">
    <%= e.label :copyright, "Copyright" %> <div class="input"><%= e.text_field :copyright, :value => element.copyright %></div>
  </div>

  <div style="margin-bottom: 5px;">
    <%= e.label :alt_text, "ALT-Attribut" %> <div class="input"><%= e.text_field :alt_text, :value => element.alt_text %></div>
  </div>

  <%= e.hidden_field :type, :value => element.element_type %>
  <%= e.hidden_field :id, :value => element.id %>
<% end %>
<hr />
{'fraction_non_alphanumeric': 0.22997416020671835, 'fraction_numerical': 0.002583979328165375, 'mean_word_length': 4.163333333333333, 'pattern_counts': {'":': 0, '<': 51, '<?xml version=': 0, '>': 59, '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': '3219506', 'n_tokens_mistral': 616, 'n_tokens_neox': 562, 'n_words': 116}