view app/views/pastes/show.html.erb @ 3:04a43fae272c

Better styled paste show.
author Edho Arief <edho@myconan.net>
date Sun, 26 Aug 2012 11:29:31 -0700
parents 42de15334db1
children 5e54b5ff78d0
line wrap: on
line source

<p id="notice"><%= notice %></p>

<p>
  <b>Paste:</b>
  <pre><%= @paste.paste %></pre>
</p>

<p>
  <b>Hash:</b>
  <%= @paste.paste_hash %>
</p>


<%= link_to 'Edit', edit_paste_path(@paste) %> |
<%= link_to 'Back', pastes_path %>