<commit_before><%= form_for messageboard, html: { class: 'thredded--form' } do |f| %>
    <ul class="thredded--form-list">
      <li>
        <%= f.label t('thredded.messageboard.form.title_label') %>
        <%= f.text_field :name, required: true %>
        <%= render 'thredded/shared/field_errors', messages: f.object.errors[:name] %>
      </li>
      <li>
        <%= f.label t('thredded.messageboard.form.description_label') %>
        <%= f.text_field :description %>
      </li>
      <li>
        <%= f.label t('thredded.messageboard.form.messageboard_group_id_label') %>
        <%= f.collection_select :messageboard_group_id, Thredded::MessageboardGroup.all, :id, :name,
                                include_blank: t('thredded.messageboard.form.no_group') %>
      </li>
      <li>
        <%= f.label :locked do %>
            <%= f.check_box :locked %> <%= t 'thredded.messageboard.form.locked_label' %>
        <% end %>
      </li>

      <li>
        <%= f.submit messageboard.persisted? ? t('thredded.messageboard.update') : t('thredded.messageboard.create'),
                     class: 'thredded--form--submit',
                     'data-disable-with' => messageboard.persisted? ?
                         t('thredded.messageboard.form.update_btn_submitting') :
                         t('thredded.messageboard.form.create_btn_submitting') %>
      </li>
    </ul>
<% end %>
<% if messageboard.persisted? and Thredded.show_messageboard_delete_button %>
  <%= button_to t('thredded.messageboard.form.delete'),
                messageboard_path(messageboard),
                method: 'delete',
                class: 'thredded--messageboard--delete',
                form_class: 'thredded--form',
                data: {confirm: t('thredded.messageboard.form.delete_confirm', messageboard_name: messageboard.name)}%>
<% end %><commit_msg>Fix label reference for localized values<commit_after><%= form_for messageboard, html: { class: 'thredded--form' } do |f| %>
    <ul class="thredded--form-list">
      <li>
        <%= f.label :name, t('thredded.messageboard.form.title_label') %>
        <%= f.text_field :name, required: true %>
        <%= render 'thredded/shared/field_errors', messages: f.object.errors[:name] %>
      </li>
      <li>
        <%= f.label :description, t('thredded.messageboard.form.description_label') %>
        <%= f.text_field :description %>
      </li>
      <li>
        <%= f.label :messageboard_group_id, t('thredded.messageboard.form.messageboard_group_id_label') %>
        <%= f.collection_select :messageboard_group_id, Thredded::MessageboardGroup.all, :id, :name,
                                include_blank: t('thredded.messageboard.form.no_group') %>
      </li>
      <li>
        <%= f.label :locked do %>
            <%= f.check_box :locked %> <%= t 'thredded.messageboard.form.locked_label' %>
        <% end %>
      </li>

      <li>
        <%= f.submit messageboard.persisted? ? t('thredded.messageboard.update') : t('thredded.messageboard.create'),
                     class: 'thredded--form--submit',
                     'data-disable-with' => messageboard.persisted? ?
                         t('thredded.messageboard.form.update_btn_submitting') :
                         t('thredded.messageboard.form.create_btn_submitting') %>
      </li>
    </ul>
<% end %>
<% if messageboard.persisted? and Thredded.show_messageboard_delete_button %>
  <%= button_to t('thredded.messageboard.form.delete'),
                messageboard_path(messageboard),
                method: 'delete',
                class: 'thredded--messageboard--delete',
                form_class: 'thredded--form',
                data: {confirm: t('thredded.messageboard.form.delete_confirm', messageboard_name: messageboard.name)}%>
<% end %>
{'fraction_non_alphanumeric': 0.15770042194092826, 'fraction_numerical': 0.0, 'mean_word_length': 2.3596102745792735, 'pattern_counts': {'":': 0, '<': 61, '<?xml version=': 0, '>': 63, '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': '1879979', 'n_tokens_mistral': 1254, 'n_tokens_neox': 1159, 'n_words': 172}