<commit_before><h1>Editing content</h1>

<%= error_messages_for :content %>

<% form_for(:content, @content, :url => content_path(@content), :html => {:method => :put} ) do |f| %>
  <p>
    <b>Title</b><br />
    <%= f.text_field :title %>
  </p>

  <p>
    <b>Description</b><br />
    <%= f.text_area :description %>
  </p>

  <p>
    <b>Body</b><br />
    <%= f.text_area :body %>
  </p>

  <p>
    <%= f.submit "Update" %>
  </p>
<% end %>

<%= show_content_link(@content, :label => 'Show') %>
<%= index_contents_link(:label => 'Back to List') %><commit_msg>contents/edit on normal_form_builder<commit_after><% section "Editing #{@content.class}" %>

<%= error_messages_for :content %>

<% form_for(:content, @content, :url => content_path(@content), :html => {:method => :put}, :builder => NormalFormBuilder ) do |f| %>
    <%= f.text_field :title %>
    <%= f.text_area :description %>
    <%= f.text_area :body %>

  <p>
    <%= f.submit "Update" %>
  </p>
<% end %>

<%= show_content_link(@content, :label => 'Show') %>
<%= index_contents_link(:label => 'Back to List') %>
{'fraction_non_alphanumeric': 0.24259259259259258, 'fraction_numerical': 0.001851851851851852, 'mean_word_length': 3.8044444444444445, 'pattern_counts': {'":': 0, '<': 43, '<?xml version=': 0, '>': 54, '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': '4869728', 'n_tokens_mistral': 448, 'n_tokens_neox': 405, 'n_words': 77}