view app/views/layouts/_alerts.html.erb @ 469:68231013b01b bootstrap-4

Now with more bootstrap than ever
author nanaya <me@nanaya.pro>
date Sun, 23 Feb 2020 22:25:50 +0900
parents 16f1b4f8ce94
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 %>