<commit_before><%= f.inputs do %>
  <%= f.input :content, :as => :text, :input_html => { :class => "span12" }, :hint => "Use markdown syntax for formatting. You can also use HTML directly. <a href=\"#{guide_path('markdown')}\" data-toggle=\"remote-load\" data-target=\"#content-guide\">See our markdown syntax reference</a>".html_safe %>
  <div id="content-guide"></div>
<% end %><commit_msg>implemented ace editor for content editing. Use the markdown template type<commit_after><%= f.inputs do %>
  <%= f.input :content, :as => :text, :input_html => { :class => "span12", :id => "template_content-#{f.object.id || 'new'}" }, :hint => "Use markdown syntax for formatting. You can also use HTML directly. <a href=\"#{guide_path('markdown')}\" data-toggle=\"remote-load\" data-target=\"#content-guide\">See our markdown syntax reference</a>".html_safe %>
  <div id="template_content_editor-<%= f.object.id || 'new' %>" class="template_content_editor"></div>
  <div id="content-guide"></div>
<% end %>

<% content_for :javascript do %>
  <%= javascript_tag do %>
    var editor = ace_edit('<%= f.object.id || 'new' %>', 'markdown');
    editor.renderer.setShowGutter(false);
  <% end %>
<% end %>
{'fraction_non_alphanumeric': 0.2135678391959799, 'fraction_numerical': 0.0033500837520938024, 'mean_word_length': 4.829268292682927, 'pattern_counts': {'":': 0, '<': 25, '<?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': '7581521', 'n_tokens_mistral': 411, 'n_tokens_neox': 382, 'n_words': 98}