<commit_before><div class="modal fade" id="modal_cambia_id_naturalista" tabindex="-1" role="dialog" aria-labelledby="modal_cambia_id_naturalista_label">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title" id="modal_cambia_id_naturalista_label"><%= @con_naturalista ? "Esta es la URL que se tiene asociada actualmente: #{CONFIG.naturalista_url}/taxa/#{@con_naturalista}" : "El taxón actualmente no tiene ID de Naturalista asociado"%></h4>
      </div>
      <%= form_tag "/especies/#{@especie.id}/guarda-id-naturalista", :method => :post, :role => 'form' do %>
        <div class="modal-body">
          <%= text_field_tag :new_url, nil, :maxlength => 255, :placeholder => 'Escribe la nueva URL de Naturalista', :autocomplete => :off, :class => 'form-control', :required => "required"  %>
        </div>
        <div class="modal-footer">
          <button type="button" class="btn btn-danger btn-title" data-dismiss="modal" title="Siempre no (No modificar)">Cerrar</button>
          <%= button_tag "Guardar cambios", data: { disable_with: 'Procesando...' }, :class => "btn btn-success btn-title", :title=>'Guardar el nuevo id de Naturalista' %>
        </div>
      <% end %><commit_msg>limpiando show, pasando modal a un partial<commit_after><div class="modal fade" id="modal_cambia_id_naturalista" tabindex="-1" role="dialog" aria-labelledby="modal_cambia_id_naturalista_label">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title" id="modal_cambia_id_naturalista_label"><%= @con_naturalista ? "Esta es la URL que se tiene asociada actualmente: #{link_to CONFIG.naturalista_url+"/taxa/"+@con_naturalista.to_s, CONFIG.naturalista_url+"/taxa/"+@con_naturalista.to_s}".html_safe : "El taxón actualmente no tiene ID de Naturalista asociado"%></h4>
      </div>
      <%= form_tag "/especies/#{@especie.id}/guarda-id-naturalista", :method => :post, :role => 'form' do %>
        <div class="modal-body">
          <%= text_field_tag :new_url, nil, :maxlength => 255, :placeholder => 'Escribe la nueva URL de Naturalista', :autocomplete => :off, :class => 'form-control', :required => "required"  %>
        </div>
        <div class="modal-footer">
          <button type="button" class="btn btn-danger btn-title" data-dismiss="modal" title="Siempre no (No modificar)">Cerrar</button>
          <%= button_tag "Guardar cambios", data: { disable_with: 'Procesando...' }, :class => "btn btn-success btn-title", :title=>'Guardar el nuevo id de Naturalista' %>
        </div>
      <% end %>
{'fraction_non_alphanumeric': 0.17474402730375427, 'fraction_numerical': 0.004095563139931741, 'mean_word_length': 4.358318098720292, 'pattern_counts': {'":': 0, '<': 47, '<?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': '2886639', 'n_tokens_mistral': 970, 'n_tokens_neox': 944, 'n_words': 212}