<commit_before><%= semantic_form_for @resource, :url => admin_edition_path(@resource), :as => :edition do |f| %>
  <%= f.inputs do %>
    <%= render :partial => 'admin/shared/title_etc', :locals => {:f => f} %>
    <%= f.input :body, :as => :text, :input_html => { :class => 'span12', :disabled => @resource.published? } %>
  <% end %>
<% end %><commit_msg>disabling the body field for completed transaction pages<commit_after><%= semantic_form_for @resource, :url => admin_edition_path(@resource), :as => :edition do |f| %>
  <%= f.inputs do %>
    <%= render :partial => 'admin/shared/title_etc', :locals => {:f => f} %>
    <%= f.input :body,
                :as => :text,
                :hint => 'The body text is overwritten by the service feedback survey',
                :input_html => { :class => 'span12', :disabled => 'disabled' } %>
  <% end %>
<% end %>
{'fraction_non_alphanumeric': 0.20876585928489041, 'fraction_numerical': 0.00461361014994233, 'mean_word_length': 3.3618090452261304, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 34, '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': '3744850', 'n_tokens_mistral': 309, 'n_tokens_neox': 276, 'n_words': 74}