annotate app/views/layouts/_alerts.html.erb @ 420:bec47da9052a
Prevent explosion on nil language
author |
nanaya <me@myconan.net> |
date |
Thu, 17 Sep 2015 18:12:38 +0900 |
parents |
16f1b4f8ce94 |
children |
68231013b01b |
rev |
line source |
385
|
1 <% if notice %>
|
379
|
2 <div class="alert alert-info">
|
414
|
3 <strong><%= t(".info") %>:</strong>
|
385
|
4 <%= notice %>
|
379
|
5 </div>
|
|
6 <% end %>
|
|
7
|
385
|
8 <% if alert %>
|
379
|
9 <div class="alert alert-danger">
|
414
|
10 <strong><%= t(".error") %>:</strong>
|
385
|
11 <%= alert %>
|
379
|
12 </div>
|
|
13 <% end %>
|