view app/views/layouts/_alerts.html.erb @ 485:6cac8fcf8164

Update to rails 7 (and ruby 3.1)
author nanaya <me@nanaya.pro>
date Sat, 15 Jan 2022 02:07:02 +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 %>