view app/views/layouts/_alerts.html.erb @ 496:eadd0a3b9921

Update gems
author nanaya <me@nanaya.net>
date Sun, 15 Dec 2024 22:18:31 +0900
parents 68231013b01b
children
line wrap: on
line source

<% if notice %>
  <div class="alert alert-info" role="alert">
    <strong><%= t(".info") %>:</strong>
    <%= notice %>
  </div>
<% end %>

<% if alert %>
  <div class="alert alert-danger" role="alert">
    <strong><%= t(".error") %>:</strong>
    <%= alert %>
  </div>
<% end %>