diff 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
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 %>