% # vim:set sw=4 ts=4 sts=4 ft=html.epl expandtab: % my %d = ( % delay_0 => l('no time limit'), % delay_1 => l('24 hours'), % delay_365 => l('1 year') % );
% if (config('always_encrypt')) {

<%= l('The images are encrypted on the server (Lutim does not keep the key).') %>

% } % if (defined(stash('short'))) { % my $url = url_for('/'.stash('short'))->to_abs();
% if (defined(stash('thumb'))) {
<%= stash('filename') %> thumbnail
% }
% # Display image informations

<%= stash('filename') %>

% my $delete_url = url_for('delete', {short => stash('real_short'), token => stash('token')})->to_abs();
<%= link_to $delete_url => ( class => "btn btn-default col-xs-12 text-left", title => l('Deletion link') ) => begin %> <%= $delete_url %> <%= end %>
% # Delay modification form % my $modify_url = url_for('modify', {short => stash('real_short'), token => stash('token')})->to_abs();
<%= submit_button l('Let\'s go!'), class => 'btn btn-sm btn-default btn-primary', id => 'submitmodbutton' %>
% } % if (defined(flash('success'))) {

<%== flash('success') %>

% } % if (defined(flash('msg'))) {
<%= l('Something bad happened') %>
<%= flash('filename') %> <%= flash('msg') %>
% }
% if ($c->config('watermark_path') && $c->config('watermark_enforce') eq 'none') { % }
<%= l('Drag & drop images here') %>
<%= l('-or-') %>

<%= l('Only images are allowed') %>

<%= l('Let\'s go!') %>