<commit_before><div class="bar heading">
  <% if @issue.assigned_user %>
    <strong><%= t('issue.assignment.assigned_to') %></strong>
    <% if @issue.assigned_user == current_user %>
      <%= link_to t(:me), current_user %>
    <% else %>
      <%= link_to @issue.assigned_user.name, @issue.assigned_user %>
    <% end %>
  <% else %>
    <span class="quiet">{ <%= t('issue.assignment.not_assigned') %> }</span>
  <% end %>
</div>
<div class="row">
<% if current_user.can_assign_issue?(@issue) %>
  <%= form_for :issue_assignment, :url => assign_to_issue_path(@issue), :remote => true do |f| %>
    <%= t('issue.assignment.assign_to') %>
    <%= f.select :user_id, options_for_select(User.all.collect { |user| (user == current_user) ? [t(:me), user.id] : [user.name, user.id] }) %>
    <%= f.submit t(:save) %>
  <% end %>
<% else %>
  <span class="quiet"><%= t('permission.cannot_assign_issue') %></span>
<% end %>
</div><commit_msg>fix bug: use 'select_tag' instead of 'f.select'<commit_after><div class="bar heading">
  <% if @issue.assigned_user %>
    <strong><%= t('issue.assignment.assigned_to') %></strong>
    <% if @issue.assigned_user == current_user %>
      <%= link_to t(:me), current_user %>
    <% else %>
      <%= link_to @issue.assigned_user.name, @issue.assigned_user %>
    <% end %>
  <% else %>
    <span class="quiet">{ <%= t('issue.assignment.not_assigned') %> }</span>
  <% end %>
</div>
<div class="row">
<% if current_user.can_assign_issue?(@issue) %>
  <%= form_for :issue_assignment, :url => assign_to_issue_path(@issue), :remote => true do |f| %>
    <%= t('issue.assignment.assign_to') %>
    <%= select_tag :user_id, options_for_select(User.all.collect { |user| (user == current_user) ? [t(:me), user.id] : [user.name, user.id] }) %>
    <%= f.submit t(:save) %>
  <% end %>
<% else %>
  <span class="quiet"><%= t('permission.cannot_assign_issue') %></span>
<% end %>
</div>
{'fraction_non_alphanumeric': 0.23089005235602095, 'fraction_numerical': 0.0, 'mean_word_length': 4.178861788617886, 'pattern_counts': {'":': 0, '<': 61, '<?xml version=': 0, '>': 65, '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': '2224048', 'n_tokens_mistral': 771, 'n_tokens_neox': 690, 'n_words': 123}