<commit_before><% if type == :notice %>
  <%= alert_box context: :success, dismissible: true do %>
    <%= message %>
  <% end %>
<% else %>
  <%= alert_box context: :danger, dismissible: true do %>
    <%= message %>
  <% end %>
<% end %>

<commit_msg>Fix flash message alert boxes<commit_after><% if type == :success %>
  <%= alert_box context: :success, dismissible: true do %>
    <%= message %>
  <% end %>
<% elsif type == :error %>
  <%= alert_box context: :danger, dismissible: true do %>
    <%= message %>
  <% end %>
<% elsif type == :warning %>
    <%= alert_box context: :warning, dismissible: true do %>
      <%= message %>
    <% end %>
<% else %>
  <%= alert_box context: :info, dismissible: true do %>
    <%= message %>
  <% end %>
<% end %>


{'fraction_non_alphanumeric': 0.2073490813648294, 'fraction_numerical': 0.0, 'mean_word_length': 3.2154696132596685, 'pattern_counts': {'":': 0, '<': 29, '<?xml version=': 0, '>': 29, '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': '6698078', 'n_tokens_mistral': 299, 'n_tokens_neox': 247, 'n_words': 70}