<commit_before><%= form_remote_tag :url      => {:action => 'comment', :id => @article}, 
                    :update   => 'comments_div',
                    :loading  => 'commentLoading()', 
                    :complete => 'commentComplete()',
                    :html     => {:id => 'commentform', :class => 'comments' } %>

<div id="preview" style="display:none"></div>

<fieldset>
  <legend>Comments</legend>
  <p>
    <label>Name:<br /> 
      <%= text_field "comment", "author" %>
      <small>(<%= link_to_function("leave url/email &#187;", "new Effect.toggle('extra_fields', 'blind', {duration: .3})") %></small>)
    </label>
  </p>
  
  <div id="extra_fields" style="display:none;">  
	  <p>
	    <label>Email: <%= content_tag('small', "(#{link_to('gravatar', 'http://gravatar.com')} enabled)") if config_value(:use_gravatar) %><br />
	      <%= text_field "comment", "email" %>
	    </label>
	  </p>
	  <p>
	    <label>Url:<br />
	      <%= text_field "comment", "url" %>
	    </label>
	  </p>
  </div>
    
  <p>
    <label>
      Comments:
      <%= content_tag('small', link_to("Textile enabled", "http://hobix.com/textile/")) if config_value(:comment_text_filter).include? 'textile' %>
      <%= content_tag('small', link_to("Markdown enabled", "http://daringfireball.net/projects/markdown/")) if config_value(:comment_text_filter).include? 'markdown' %>
      <br />
      <%= text_area 'comment', 'body' %>
    </label>
  </p>
  
  <p><commit_msg>Move a ) in scribbish.  Closes #996<commit_after><%= form_remote_tag :url      => {:action => 'comment', :id => @article}, 
                    :update   => 'comments_div',
                    :loading  => 'commentLoading()', 
                    :complete => 'commentComplete()',
                    :html     => {:id => 'commentform', :class => 'comments' } %>

<div id="preview" style="display:none"></div>

<fieldset>
  <legend>Comments</legend>
  <p>
    <label>Name:<br /> 
      <%= text_field "comment", "author" %>
      <small>(<%= link_to_function("leave url/email &#187;", "new Effect.toggle('extra_fields', 'blind', {duration: .3})") %>)</small>
    </label>
  </p>
  
  <div id="extra_fields" style="display:none;">  
	  <p>
	    <label>Email: <%= content_tag('small', "(#{link_to('gravatar', 'http://gravatar.com')} enabled)") if config_value(:use_gravatar) %><br />
	      <%= text_field "comment", "email" %>
	    </label>
	  </p>
	  <p>
	    <label>Url:<br />
	      <%= text_field "comment", "url" %>
	    </label>
	  </p>
  </div>
    
  <p>
    <label>
      Comments:
      <%= content_tag('small', link_to("Textile enabled", "http://hobix.com/textile/")) if config_value(:comment_text_filter).include? 'textile' %>
      <%= content_tag('small', link_to("Markdown enabled", "http://daringfireball.net/projects/markdown/")) if config_value(:comment_text_filter).include? 'markdown' %>
      <br />
      <%= text_area 'comment', 'body' %>
    </label>
  </p>
  
  <p>
{'fraction_non_alphanumeric': 0.21752368064952637, 'fraction_numerical': 0.0037212449255751017, 'mean_word_length': 2.8352788586251623, 'pattern_counts': {'":': 0, '<': 81, '<?xml version=': 0, '>': 99, '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': '7053984', 'n_tokens_mistral': 1086, 'n_tokens_neox': 992, 'n_words': 182}