anchor.diff:          <td><%= text_field :creator_ids, i, :id => 'select2_creator', :value => creator[:agent_id] %></td>
         <% else %>
           <td>
  -          <%= text_field_tag "creator_full_names[#{i}]", creator[:full_name],
  -            :placeholder => t("activerecord.attributes.agent.full_name") %>
  +          <%= text_field_tag "creator_agent_ids[#{i}]", (@add_creator_agent_ids.blank? ? nil : @add_creator_agent_ids[i.to_s]), :id => 'select2_new_creator', :placeholder => t("activerecord.attributes.agent.full_name") %>
  +          <%= hidden_field_tag "creator_ids[#{i}]", creator[:agent_id] %>
  +          <%= hidden_field_tag "creator_full_names[#{i}]", creator[:full_name] %>
           </td>
           <td>
             <%= text_field_tag "creator_full_name_transcriptions[#{i}]", creator[:full_name_transcription],
  
positive.code:          }).done(function(data) { callback(data); });
          }
        },
  //      createSearchChoice: function(term, data) {
  //        if ($(data).filter(function() { return this.text.localeCompare(term)===0; }).length===0) {
  //          return {id:term, text:term};
  //        }
  //      },
      });
    });
  </script>
  <% if SystemConfiguration.get("add_only_exist_agent") %>
    <% select2_str = '_select2' %>
    <%= text_field :select2_agent, :id, :id => 'select2_hidden', :style => 'display: none;' %>
  <% end %>
  <% if SystemConfiguration.get("use_agent_type") %>
    <select id="select2_creator_types_hidden" style="display: none;">
      <%= raw @create_types.collect{ |r| ["<option alt='" + r.name + "', value='" + r.id.to_s + "'>" + r.display_name.localize + " (" + r.name + ")</option>"] } %>
  
negative.code:         <td><%= text_field :contributor_ids, i, :id => 'select2_contributor', :value => contributor[:agent_id] %></td>
        <% else %>
          <td>
            <%= text_field_tag "contributor_agent_ids[#{i}]", (@add_contributor_agent_ids.blank? ? nil : @add_contributor_agent_ids[i.to_s]), :id => 'select2_new_contributor', :placeholder => t("activerecord.attributes.agent.full_name") %>
            <%= hidden_field_tag "contributor_ids[#{i}]", contributor[:agent_id] %>
            <%= hidden_field_tag "contributor_full_names[#{i}]", contributor[:full_name] %>
          </td>
          <td>
            <%= text_field_tag "contributor_full_name_transcriptions[#{i}]", contributor[:full_name_transcription],
  