<commit_before>=form_for @language, html:  {class: 'form-inline'} do |f|
  %fieldset
    %legend Language #{@language.try(:name)}
    / Text input
    .control-group
      %label.control-label Name
      .controls
        %input#name.input-xlarge{:name => "name", :placeholder => "leave blank for random", :type => "text"}/
    .control-group
      %label.control-label Corpora
      .controls
        - Corpus.all.each do |corpus|
          %label.checkbox
            %input{:name => "corpora[]", :type => "checkbox", :value => corpus.id, :title => "#{corpus.name}: #{corpus.description}"}/
            = link_to corpus.name, corpus.url, target: '_blank'
    / Textarea
    .control-group
      %label.control-label Description
      .controls
        %textarea#description{:name => "description"}
    / Button
    .control-group
      .controls
        %submit#language-submit.btn.btn-success Submit<commit_msg>fixed param names to make them more rails-y<commit_after>=form_for @language, html:  {class: 'form-inline'} do |f|
  %fieldset
    %legend Language #{@language.try(:name)}
    / Text input
    .control-group
      %label.control-label Name
      .controls
        %input#language-name.input-xlarge{:name => "language[name]", :placeholder => "leave blank for random", :type => "text"}/
    .control-group
      %label.control-label Corpora
      .controls
        - Corpus.all.each do |corpus|
          %label.checkbox
            %input{:name => "language[corpora][]", :type => "checkbox", :value => corpus.id, :title => "#{corpus.name}: #{corpus.description}"}/
            = link_to corpus.name, corpus.url, target: '_blank'
    / Textarea
    .control-group
      %label.control-label Description
      .controls
        %textarea#description{:name => "language[description]"}
    / Button
    .control-group
      .controls
        %submit#language-submit.btn.btn-success Submit
{'fraction_non_alphanumeric': 0.1518186610437533, 'fraction_numerical': 0.0, 'mean_word_length': 2.65, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 19, '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': '802276', 'n_tokens_mistral': 581, 'n_tokens_neox': 569, 'n_words': 126}