annotate 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 |
|
rev |
line source |
385
|
1 <% if notice %>
|
469
|
2 <div class="alert alert-info" role="alert">
|
414
|
3 <strong><%= t(".info") %>:</strong>
|
385
|
4 <%= notice %>
|
379
|
5 </div>
|
|
6 <% end %>
|
|
7
|
385
|
8 <% if alert %>
|
469
|
9 <div class="alert alert-danger" role="alert">
|
414
|
10 <strong><%= t(".error") %>:</strong>
|
385
|
11 <%= alert %>
|
379
|
12 </div>
|
|
13 <% end %>
|