comparison 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
comparison
equal deleted inserted replaced
468:802dcd44188e 469:68231013b01b
1 <% if notice %> 1 <% if notice %>
2 <div class="alert alert-info"> 2 <div class="alert alert-info" role="alert">
3 <strong><%= t(".info") %>:</strong> 3 <strong><%= t(".info") %>:</strong>
4 <%= notice %> 4 <%= notice %>
5 </div> 5 </div>
6 <% end %> 6 <% end %>
7 7
8 <% if alert %> 8 <% if alert %>
9 <div class="alert alert-danger"> 9 <div class="alert alert-danger" role="alert">
10 <strong><%= t(".error") %>:</strong> 10 <strong><%= t(".error") %>:</strong>
11 <%= alert %> 11 <%= alert %>
12 </div> 12 </div>
13 <% end %> 13 <% end %>