<commit_before><div class="container">
  <h2>Inscription.</h2>

  <%= simple_form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %>
    <%= f.error_notification %>

    <% if @captcha.present? %>
     <%= hidden_field_tag 'captcha_uuid', @captcha['uuid'] %>
    <% end %>

    <div class="form-inputs">

      <% if @captcha.present? %>
        <%= f.input :captcha, required: true do %>
          <p>Protection anti-spam : veuillez recopier l'extrait ci-dessous.</p>
          <%= image_tag("/captcha/#{@captcha['uuid']}.png", width: '100%', height: 'auto' )%>
          <%= text_field_tag(:user_captcha, nil, class: 'form-control input-lg', autofocus: true) %>
        <% end %>
      <% end %>

      <%= f.input :email, required: true, autofocus: false %>
      <%= f.input :password, required: true, label: 'Mot de passe', hint: ("#{@minimum_password_length} caractères minimum" if @validatable) %>
      <%= f.input :password_confirmation, label: 'Confirmation du mot de passe', required: true %>
    </div>

    <div class="form-actions">
      <%= f.button :submit, "S'inscrire" %>
    </div>
  <% end %>

  <%= render "devise/shared/links" %>
</div><commit_msg>Temporarily display captcha for troubleshooting purposes<commit_after><div class="container">
  <h2>Inscription.</h2>

  <%= simple_form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %>
    <%= f.error_notification %>

    <% if @captcha.present? %>
     <%= hidden_field_tag 'captcha_uuid', @captcha['uuid'] %>
    <% end %>

    <div class="form-inputs">

      <% if @captcha.present? %>
        <%= f.input :captcha, required: true do %>
          <p>Protection anti-spam : veuillez recopier l'extrait ci-dessous.</p>
          <%= image_tag("/captcha/#{@captcha['uuid']}.png", width: '100%', height: 'auto' )%>
          <h2><%= ENV["CAPTCHA_#{@captcha['uuid']}"] %></h2>
          <%= text_field_tag(:user_captcha, nil, class: 'form-control input-lg', autofocus: true) %>
        <% end %>
      <% end %>

      <%= f.input :email, required: true, autofocus: false %>
      <%= f.input :password, required: true, label: 'Mot de passe', hint: ("#{@minimum_password_length} caractères minimum" if @validatable) %>
      <%= f.input :password_confirmation, label: 'Confirmation du mot de passe', required: true %>
    </div>

    <div class="form-actions">
      <%= f.button :submit, "S'inscrire" %>
    </div>
  <% end %>

  <%= render "devise/shared/links" %>
</div>
{'fraction_non_alphanumeric': 0.1937799043062201, 'fraction_numerical': 0.004784688995215311, 'mean_word_length': 3.3710801393728222, 'pattern_counts': {'":': 0, '<': 60, '<?xml version=': 0, '>': 60, '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': '2128084', 'n_tokens_mistral': 954, 'n_tokens_neox': 852, 'n_words': 181}