|
|
@ -8,7 +8,6 @@ |
|
|
|
<%= link_to l('Create new') => "/zerobin", class => 'zerobin create' %> |
|
|
|
<%= link_to l('Create new') => "/zerobin", class => 'zerobin create' %> |
|
|
|
<%= link_to l('Download') => "/zerobin/$fname", class => 'zerobin download', download => $fname %> |
|
|
|
<%= link_to l('Download') => "/zerobin/$fname", class => 'zerobin download', download => $fname %> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<br/> |
|
|
|
|
|
|
|
<div class="paste"> |
|
|
|
<div class="paste"> |
|
|
|
% if (not $paste->{syntax} or $paste->{syntax} eq 'plaintext') { |
|
|
|
% if (not $paste->{syntax} or $paste->{syntax} eq 'plaintext') { |
|
|
|
%= b(plaintext($paste->{data})); |
|
|
|
%= b(plaintext($paste->{data})); |
|
|
|