You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

29 lines
561 B

% layout 'default';
% title 'Zerobin -- View';
% stash 'styles' => 'hljs zerobin';
% stash 'scripts' => 'jquery highlight zerobin';
<h1><%= l('View paste') %></h1>
<div>
<div>
<span class="zerobin cblock">
<%= link_to l('Create new') => "/zerobin2/create" %>
</span>
</div>
<br/>
<div>
<pre><code>
package LDV::Zerobin;
use strict;
use warnings;
use utf8;
use Mojo::Base 'Mojolicious::Controller';
sub view { my ($self) = @_; $self->render(); }
sub create { my ($self) = @_; $self->render(); }
1;
</code></pre>
</div>
</div>