annotate app/views/layouts/_alerts.html.erb @ 395:26f8c634052c

Complete rework.
author nanaya <me@myconan.net>
date Sat, 27 Jun 2015 14:46:01 +0900
parents 62fef621f39c
children 16f1b4f8ce94
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 %>
379
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
2 <div class="alert alert-info">
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
3 <strong>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 %>
379
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
9 <div class="alert alert-danger">
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
10 <strong>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 %>