Mercurial > zeropaste
view 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 |
line wrap: on
line source
<% provide :title, 'Show' %> <p id="notice"><%= notice %></p> <div class="page-header"> <h1>Paste</h1> </div> <pre><%= @paste.paste %></pre> <ul class="nav nav-pills"> <li><%= link_to 'Raw', paste_path(@paste, :txt) %></li> <li><%= link_to 'New paste based on this', root_path(:base => @paste.id) %></li> <li><%= link_to 'More Paste', root_path %></li> </ul>