comparison app/views/layouts/_alerts.html.erb @ 473:8a90106a7be2

Seems working
author nanaya <me@nanaya.pro>
date Sun, 23 Feb 2020 22:49:49 +0900
parents 68231013b01b
children
comparison
equal deleted inserted replaced
468:802dcd44188e 473:8a90106a7be2
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 %>