Mercurial > zeropaste
view app/views/pastes/show.html.erb @ 18:9f80b5700e93
Don't escape html in _txt_ file.
author | Edho Arief <edho@myconan.net> |
---|---|
date | Mon, 27 Aug 2012 09:03:42 -0700 |
parents | 56c17679105b |
children | 81c86eb273f4 |
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 'Raw', paste_path(@paste, :txt) %> | <%= link_to 'New paste based on this', new_paste_path(:base => @paste.id) %> | <%= link_to 'More Paste', new_paste_path %>