Mercurial > zeropaste
comparison app/views/pastes/show.html.erb @ 374:92c62966191b
Add missing notice on create.
author | nanaya <me@myconan.net> |
---|---|
date | Sat, 06 Jun 2015 22:14:30 +0900 |
parents | 45bf99bfd48b |
children | 797e351b2e2b |
comparison
equal
deleted
inserted
replaced
373:6e3e1e7b0212 | 374:92c62966191b |
---|---|
1 <% provide :title, "Paste ##{@paste.id}" %> | 1 <% provide :title, "Paste ##{@paste.id}" %> |
2 | |
3 <% if notice %> | |
4 <div class="alert alert-info"> | |
5 <%= notice %> | |
6 </div> | |
7 <% end %> | |
2 | 8 |
3 <% if alert %> | 9 <% if alert %> |
4 <div class="alert alert-danger"> | 10 <div class="alert alert-danger"> |
5 <%= alert %> | 11 <%= alert %> |
6 </div> | 12 </div> |