diff app/views/pastes/new.html.erb @ 385:62fef621f39c

Move alerts to layout.
author nanaya <me@myconan.net>
date Sun, 07 Jun 2015 10:13:25 +0900
parents 2ad092e60975
children
line wrap: on
line diff
--- a/app/views/pastes/new.html.erb	Sun Jun 07 02:59:29 2015 +0900
+++ b/app/views/pastes/new.html.erb	Sun Jun 07 10:13:25 2015 +0900
@@ -1,17 +1,3 @@
 <% provide :title, 'New Paste' %>
 
-<% if notice %>
-  <div class="alert alert-info">
-    <strong>Info:</strong>
-    <%= notice %>
-  </div>
-<% end %>
-
-<% if alert %>
-  <div class="alert alert-danger">
-    <strong>Error:</strong>
-    <%= alert %>
-  </div>
-<% end %>
-
 <%= render 'form' %>