annotate app/views/layouts/_alerts.html.erb @ 472:b26dd8fa1c26 bootstrap-4

Update link to source
author nanaya <me@nanaya.pro>
date Sun, 23 Feb 2020 22:42:15 +0900
parents 68231013b01b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
385
62fef621f39c Move alerts to layout.
nanaya <me@myconan.net>
parents: 379
diff changeset
1 <% if notice %>
469
68231013b01b Now with more bootstrap than ever
nanaya <me@nanaya.pro>
parents: 414
diff changeset
2 <div class="alert alert-info" role="alert">
414
16f1b4f8ce94 Add missing translations.
nanaya <me@myconan.net>
parents: 385
diff changeset
3 <strong><%= t(".info") %>:</strong>
385
62fef621f39c Move alerts to layout.
nanaya <me@myconan.net>
parents: 379
diff changeset
4 <%= notice %>
379
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
5 </div>
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
6 <% end %>
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
7
385
62fef621f39c Move alerts to layout.
nanaya <me@myconan.net>
parents: 379
diff changeset
8 <% if alert %>
469
68231013b01b Now with more bootstrap than ever
nanaya <me@nanaya.pro>
parents: 414
diff changeset
9 <div class="alert alert-danger" role="alert">
414
16f1b4f8ce94 Add missing translations.
nanaya <me@myconan.net>
parents: 385
diff changeset
10 <strong><%= t(".error") %>:</strong>
385
62fef621f39c Move alerts to layout.
nanaya <me@myconan.net>
parents: 379
diff changeset
11 <%= alert %>
379
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
12 </div>
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
13 <% end %>