Mercurial > zeropaste
changeset 374:92c62966191b
Add missing notice on create.
| author | nanaya <me@myconan.net> | 
|---|---|
| date | Sat, 06 Jun 2015 22:14:30 +0900 | 
| parents | 6e3e1e7b0212 | 
| children | 66ee2f5e793e | 
| files | app/views/pastes/show.html.erb | 
| diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] | 
line wrap: on
 line diff
--- a/app/views/pastes/show.html.erb Sat Jun 06 22:12:56 2015 +0900 +++ b/app/views/pastes/show.html.erb Sat Jun 06 22:14:30 2015 +0900 @@ -1,5 +1,11 @@ <% provide :title, "Paste ##{@paste.id}" %> +<% if notice %> + <div class="alert alert-info"> + <%= notice %> + </div> +<% end %> + <% if alert %> <div class="alert alert-danger"> <%= alert %>
