<commit_before><h1><%= link_to @space.name, @space %> / <%= link_to @category.name, [@space, @category] %> / <%= @resource.name %></h1>

<p><%= link_to 'Remove Resource', [@space, @category, @resource], method: :delete, confirm: 'Really remove this resource?' %></p>

<%= simple_form_for [@space, @category, @resource] do |f| %>
  <div class="input select optional">
    <%= f.label :member_cobot_id, 'Member' %>
    <%= f.select :member_cobot_id, @space.members.map {|m| [m.name, m.id] } %>
  </div>
  <%= f.submit 'Assign Member' %>
<% end %>

<p><%= link_to 'back', [@space, @category] %></p><commit_msg>adds ability to assign resource to nobody<commit_after><h1><%= link_to @space.name, @space %> / <%= link_to @category.name, [@space, @category] %> / <%= @resource.name %></h1>

<p><%= link_to 'Remove Resource', [@space, @category, @resource], method: :delete, confirm: 'Really remove this resource?' %></p>

<%= simple_form_for [@space, @category, @resource] do |f| %>
  <div class="input select optional">
    <%= f.label :member_cobot_id, 'Member' %>
    <%= f.select :member_cobot_id, @space.members.map {|m| [m.name, m.id] }, include_blank: true %>
  </div>
  <%= f.submit 'Assign Member' %>
<% end %>

<p><%= link_to 'back', [@space, @category] %></p>
{'fraction_non_alphanumeric': 0.2375296912114014, 'fraction_numerical': 0.003167062549485352, 'mean_word_length': 4.824884792626728, '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': '5916194', 'n_tokens_mistral': 506, 'n_tokens_neox': 457, 'n_words': 117}