view app/views/layouts/_alerts.html.erb @ 482:403f71d22b7b

Update gems
author nanaya <me@nanaya.pro>
date Sun, 28 Nov 2021 19:45:59 +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 %>