<commit_before><div id="users-form">

<div class="row-fluid">
  <div class="span12">
    <div class="navbar">
      <div class="navbar-inner">
        <div class="container-fluid">
          <a class="brand" href="<%= edit_user_path(@user) %>"><%= @user.name %></a>
          <ul class="nav pull-right">
            <li><%= link_to '<i class="fa fa-level-up"></i> Cancel'.html_safe, users_path %></li>
          </ul>
        </div>
      </div>
    </div>
  </div>
</div>

<div class="row-fluid">
  <div class="span12">
    <%= simple_form_for(@user, html: {class: 'form-vertical', multipart: true },
          defaults: {input_html: {class: 'input-xxlarge'}}) do |f| %>
      <h5>Owners:</h5>
      <div class="span12" style="padding-left: 8px">
        <%= f.association :owners, as: :check_boxes, label: false %>
      </div>
      <%= f.button :submit %>
    <%- end -%>
  </div><commit_msg>Owner list in user section gets properly sorted, #5046.<commit_after><div id="users-form">

<div class="row-fluid">
  <div class="span12">
    <div class="navbar">
      <div class="navbar-inner">
        <div class="container-fluid">
          <a class="brand" href="<%= edit_user_path(@user) %>"><%= @user.name %></a>
          <ul class="nav pull-right">
            <li><%= link_to '<i class="fa fa-level-up"></i> Cancel'.html_safe, users_path %></li>
          </ul>
        </div>
      </div>
    </div>
  </div>
</div>

<div class="row-fluid">
  <div class="span12">
    <%= simple_form_for(@user, html: {class: 'form-vertical', multipart: true },
          defaults: {input_html: {class: 'input-xxlarge'}}) do |f| %>
      <h5>Owners:</h5>
      <div class="span12" style="padding-left: 8px">
        <%= f.association :owners, collection: Owner.order('name ASC'), as: :check_boxes, label: false %>
      </div>
      <%= f.button :submit %>
    <%- end -%>
  </div>
{'fraction_non_alphanumeric': 0.21913415285943347, 'fraction_numerical': 0.011758417958311064, 'mean_word_length': 2.744, 'pattern_counts': {'":': 0, '<': 69, '<?xml version=': 0, '>': 69, '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': '5691229', 'n_tokens_mistral': 702, 'n_tokens_neox': 657, 'n_words': 144}