<commit_before><tr id="booth_<%= booth.id %>" class="booth">
  <td>
    <%= link_to booth.name, admin_booth_path(booth) %>
  </td>
  <td>
    <%= t("admin.booth_assignments.status.assigned") %>
    <%= t("admin.booth_assignments.status.unassigned") %>
  </td>
  <td class="text-right">
      <%= link_to t("admin.booth_assignments.manage.assign"),
                  new_admin_booth_shift_path(booth),
                  class: "button" %>
      <%= link_to t("admin.booth_assignments.manage.unassign"),
                  new_admin_booth_shift_path(booth),
                  class: "button hollow" %>
  </td>
</tr><commit_msg>Complete booth assigment partial with assign/unassign buttons and status<commit_after><td>
  <%= link_to booth.name, admin_booth_path(booth) %>
</td>
<% if booth_assignment.present? %>
  <td>
    <span class="verified"><%= t("admin.booth_assignments.status.assigned") %></span>
  </td>
  <td class="text-right">
    <%= link_to t("admin.booth_assignments.manage.actions.unassign"),
                admin_poll_booth_assignment_path(@poll, booth_assignment, booth_id: booth.id),
                method: :delete,
                remote: true,
                title: t("admin.booth_assignments.manage.actions.unassign"),
                class: "button hollow alert" %>
  </td>
<% else %>
  <td>
    <span class="delete"><%= t("admin.booth_assignments.status.unassigned") %></span>
  </td>
  <td class="text-right">
    <%= link_to t("admin.booth_assignments.manage.actions.assign"),
                admin_poll_booth_assignments_path(@poll, booth_id: booth.id),
                method: :post,
                remote: true,
                title: t("admin.booth_assignments.manage.actions.assign"),
                class: "button" %>
  </td>
<% end %>
{'fraction_non_alphanumeric': 0.16336913510457884, 'fraction_numerical': 0.0, 'mean_word_length': 2.7579617834394905, 'pattern_counts': {'":': 0, '<': 39, '<?xml version=': 0, '>': 39, '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': '6647194', 'n_tokens_mistral': 626, 'n_tokens_neox': 580, 'n_words': 91}