<commit_before>= form_for @embeddable do |f|
  = f.error_messages
  = f.label "Heading"
  = f.text_field :name
  = field_set_tag 'Prompt' do
    = f.text_area :prompt, :rows => 5, :class => "wysiwyg-minimal"
  = field_set_tag 'Default Text' do
    = f.text_area :default_text, :rows => 5, :class => "wysiwyg-minimal"
  = field_set_tag 'Hint' do
    .help
      If this is provided, the user will be able to see expandable hint next to the question title.
      = f.text_area :hint, :rows => 5, :class => 'wysiwyg-minimal'
  .options
    = field_set_tag "Options" do
      .ul
        = render :partial => 'shared/edit_prediction', :locals => { :f => f }
        = render :partial => 'shared/edit_featured', :locals => { :f => f }
        = render :partial => 'shared/edit_full_width', :locals => { :f => f }

  = f.submit "Cancel", :class => 'close'
  = f.submit "Save", :class => 'embeddable-save'

  :javascript<commit_msg>remove rich text editing from default question prompt<commit_after>= form_for @embeddable do |f|
  = f.error_messages
  = f.label "Heading"
  = f.text_field :name
  = field_set_tag 'Prompt' do
    = f.text_area :prompt, :rows => 5, :class => "wysiwyg-minimal"
  = field_set_tag 'Default Text' do
    = f.text_area :default_text, :rows => 5
  = field_set_tag 'Hint' do
    .help
      If this is provided, the user will be able to see expandable hint next to the question title.
      = f.text_area :hint, :rows => 5, :class => 'wysiwyg-minimal'
  .options
    = field_set_tag "Options" do
      .ul
        = render :partial => 'shared/edit_prediction', :locals => { :f => f }
        = render :partial => 'shared/edit_featured', :locals => { :f => f }
        = render :partial => 'shared/edit_full_width', :locals => { :f => f }

  = f.submit "Cancel", :class => 'close'
  = f.submit "Save", :class => 'embeddable-save'

  :javascript
{'fraction_non_alphanumeric': 0.15206878022568512, 'fraction_numerical': 0.0032240730789897904, 'mean_word_length': 3.101321585903084, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 36, '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': '6031987', 'n_tokens_mistral': 671, 'n_tokens_neox': 653, 'n_words': 182}