view app/views/layouts/_alerts.html.erb @ 464:f11862e58af4

Canonicalize 0-prefixed ids as well
author nanaya <me@nanaya.pro>
date Mon, 10 Dec 2018 02:38:45 +0900
parents 16f1b4f8ce94
children 68231013b01b
line wrap: on
line source

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

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