diff app/views/pastes/new.html.erb @ 190:d4682cea8e58

Fun with alerts.
author Edho Arief <edho@myconan.net>
date Sat, 23 Feb 2013 14:31:34 +0900
parents b1a816ff0d91
children 6cca1ab53337
line wrap: on
line diff
--- a/app/views/pastes/new.html.erb	Sat Feb 23 14:01:22 2013 +0900
+++ b/app/views/pastes/new.html.erb	Sat Feb 23 14:31:34 2013 +0900
@@ -1,4 +1,11 @@
 <% provide :title, 'New Paste' %>
+
+<% if flash[:notice] %>
+  <div class="alert alert-info">
+    <%= flash[:notice] %>
+  </div>
+<% end %>
+
 <div class="page-header">
   <h1>New Paste</h1>
 </div>