<commit_before>class ArticleFormBuilder < ExtensibleFormBuilder
  after(:article, :default_fields) do |f|
    f.render :inline => <<-html, :locals => {:f => f}
      <fieldset class="clearfix">
        <div class="col">
          <%= f.label(:meta_author) %>
          <%= f.text_field(:meta_author) %>

          <%= f.label(:meta_geourl) %>
          <%= f.text_field(:meta_geourl) %>

          <%= f.label(:meta_copyright) %>
          <%= f.text_field(:meta_copyright) %>
        </div>

        <div class="col">
          <%= f.label(:meta_keywords) %>
          <%= f.text_field(:meta_keywords) %>

          <%= f.label(:meta_description) %>
          <%= f.text_area(:meta_description, :class => 'short') %>
        </div>
      </fieldset>
    html
  end
end<commit_msg>can not use render :inline in the meta tags plugin (rails refuses to render this more than once, seems to be meant for inline rendering of actions, not partials)<commit_after>class ArticleFormBuilder < ExtensibleFormBuilder
  after(:article, :default_fields) do |f|
    <<-html
      <fieldset class="clearfix">
        <div class="col">
          #{ f.label(:meta_author) }
          #{ f.text_field(:meta_author) }

          #{ f.label(:meta_geourl) }
          #{ f.text_field(:meta_geourl) }

          #{ f.label(:meta_copyright) }
          #{ f.text_field(:meta_copyright) }
        </div>

        <div class="col">
          #{ f.label(:meta_keywords) }
          #{ f.text_field(:meta_keywords) }

          #{ f.label(:meta_description) }
          #{ f.text_area(:meta_description, :class => 'short') }
        </div>
      </fieldset>
    html
  end
end
{'fraction_non_alphanumeric': 0.16140776699029127, 'fraction_numerical': 0.0, 'mean_word_length': 2.3516260162601625, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 30, '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': '4553544', 'n_tokens_mistral': 552, 'n_tokens_neox': 523, 'n_words': 96}