changeset 388:797e351b2e2b

Remove alerts and title from show. Already shown by layout.
author nanaya <me@myconan.net>
date Sun, 07 Jun 2015 10:33:17 +0900
parents 6cd41974d4b0
children 433bc70e1781
files app/views/pastes/show.html.erb
diffstat 1 files changed, 0 insertions(+), 16 deletions(-) [+]
line wrap: on
line diff
--- a/app/views/pastes/show.html.erb	Sun Jun 07 10:30:14 2015 +0900
+++ b/app/views/pastes/show.html.erb	Sun Jun 07 10:33:17 2015 +0900
@@ -1,21 +1,5 @@
 <% provide :title, "Paste ##{@paste.id}" %>
 
-<% if notice %>
-  <div class="alert alert-info">
-    <%= notice %>
-  </div>
-<% end %>
-
-<% if alert %>
-  <div class="alert alert-danger">
-    <%= alert %>
-  </div>
-<% end %>
-
-<div class="page-header">
-  <h1><%= content_for :title %></h1>
-</div>
-
 <div id="paste-show" data-id="<%= @paste.id %>">
   <ul id="paste-mode" class="nav nav-tabs">
     <li class="active"><%= link_to 'Plain', '#pl', :data => { :toggle => 'pill' } %></li>