<commit_before>= form_for @embeddable do |f|
  = f.error_messages
  = field_set_tag 'Heading' do
    = f.text_field :name
  = field_set_tag 'Prompt' do
    = f.text_area :prompt, :rows => 5
    :javascript
      $(function() {
          $('#embeddable_image_question_prompt').wysiwyg({"controls": { "html": { "visible": true }, "h1": { "visible": false }, "h2": { "visible": false }, "h3": { "visible": false } } });
      });
  = field_set_tag 'Background source' do
    = f.select :bg_source, ['Shutterbug', 'Drawing']
  = f.submit "Cancel", :class => 'close'
  = f.submit "Save", :class => 'embeddable-save'<commit_msg>Adds form fields to provide bg image for ImageQuestions<commit_after>= form_for @embeddable do |f|
  = f.error_messages
  = field_set_tag 'Heading' do
    = f.text_field :name
  = field_set_tag 'Prompt' do
    = f.text_area :prompt, :rows => 5
    :javascript
      $(function() {
          $('#embeddable_image_question_prompt').wysiwyg({"controls": { "html": { "visible": true }, "h1": { "visible": false }, "h2": { "visible": false }, "h3": { "visible": false } } });
      });
  = field_set_tag 'Background' do
    %label
      Source
      = f.select :bg_source, ['Shutterbug', 'Drawing']
    %br{ :style => 'clear: both;' }
    %label
      Background image URL (optional, will be ignored for Shutterbug)
      = f.text_field :bg_url
  = f.submit "Cancel", :class => 'close'
  = f.submit "Save", :class => 'embeddable-save'
{'fraction_non_alphanumeric': 0.17918676774638181, 'fraction_numerical': 0.005513439007580979, 'mean_word_length': 3.4814814814814814, 'pattern_counts': {'":': 18, '<': 3, '<?xml version=': 0, '>': 10, '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': '6023570', 'n_tokens_mistral': 511, 'n_tokens_neox': 505, 'n_words': 122}