comparison app/views/pastes/show.html.erb @ 43:bc088ddb470f

Added page header div for show.
author Edho Arief <edho@myconan.net>
date Thu, 04 Oct 2012 02:13:46 +0700
parents c91c994b22b9
children e9b485638f93
comparison
equal deleted inserted replaced
42:c91c994b22b9 43:bc088ddb470f
1 <% provide :title, 'Show' %> 1 <% provide :title, 'Show' %>
2 <p id="notice"><%= notice %></p> 2 <p id="notice"><%= notice %></p>
3 3
4 <h1>Paste</h1> 4 <div class="page-header">
5 <h1>Paste</h1>
6 </div>
5 <pre><%= @paste.paste %></pre> 7 <pre><%= @paste.paste %></pre>
6 8
7 <ul class="nav nav-pills"> 9 <ul class="nav nav-pills">
8 <li><%= link_to 'Raw', paste_path(@paste, :txt) %></li> 10 <li><%= link_to 'Raw', paste_path(@paste, :txt) %></li>
9 <li><%= link_to 'New paste based on this', root_path(:base => @paste.id) %></li> 11 <li><%= link_to 'New paste based on this', root_path(:base => @paste.id) %></li>