annotate app/views/layouts/_alerts.html.erb @ 418:a69dd2d37950
Prevent adding unrelated classes and funny characters
author |
nanaya <me@myconan.net> |
date |
Thu, 17 Sep 2015 01:13:14 +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 %>
|