<commit_before><h2>Sign in</h2>

<%= simple_form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f| %>
  <div class="form-inputs">
    <%= f.input :username, :required => true, :autofocus => true %>
    <%= f.input :password, :required => true %>
    <%= f.input :remember_me, :as => :boolean if devise_mapping.rememberable? %>
  </div>

  <div class="form-actions">
    <%= f.button :submit, "Sign in" %>
  </div>
<% end %>

<%= render "devise/shared/links" %>
<commit_msg>Block message for errors in login<commit_after><h2>Sign In</h2>

<%= simple_form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f| %>
  <% if !flash[:alert].nil? %>
  	<%= flash[:alert] %>
  <% end %>

  <div class="form-inputs">
    <%= f.input :username, :required => true, :autofocus => true %>
    <%= f.input :password, :required => true %>
    <%= f.input :remember_me, :as => :boolean if devise_mapping.rememberable? %>
  </div>

  <div class="form-actions">
    <%= f.button :submit, "Sign in" %>
  </div>
<% end %>

<%= render "devise/shared/links" %>

{'fraction_non_alphanumeric': 0.21755027422303475, 'fraction_numerical': 0.003656307129798903, 'mean_word_length': 4.0, 'pattern_counts': {'":': 0, '<': 32, '<?xml version=': 0, '>': 44, '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': '5525633', 'n_tokens_mistral': 434, 'n_tokens_neox': 390, 'n_words': 85}