{extends "downloads/base.html"} {block docclass}yui-t3{assign $inDownloads=true}{/block} {block body}
{$file} - {$file.filesize|size}
{if $form} {if $form.errors}

{trans 'The form contains some errors. Please correct them to update the file.'}

{if $form.get_top_errors} {$form.render_top_errors|unsafe} {/if}
{/if}
{$form.f.summary.labelTag}: {if $form.f.summary.errors}{$form.f.summary.fieldErrors}{/if} {$form.f.summary|unsafe}
{$form.f.label1.labelTag}: {if $form.f.label1.errors}{$form.f.label1.fieldErrors}{/if}{$form.f.label1|unsafe} {if $form.f.label2.errors}{$form.f.label2.fieldErrors}{/if}{$form.f.label2|unsafe} {if $form.f.label3.errors}{$form.f.label3.fieldErrors}{/if}{$form.f.label3|unsafe}
  | {trans 'Cancel'}
{/if} {/block} {block context} {assign $submitter = $file.get_submitter()}

{trans 'Uploaded:'} {$file.creation_dtime|dateago} {blocktrans}by {$submitter}{/blocktrans}

{trans 'Updated:'} {$file.modif_dtime|dateago}

{trans 'Downloads:'} {$file.downloads}

{assign $tags = $file.get_tags_list()}{if $tags.count()}

{trans 'Labels:'}
{foreach $tags as $tag} {$tag.class}:{$tag.name}
{/foreach}

{/if} {/block} {block javascript}{if $form} {include 'downloads/js-autocomplete.html'}{/if}{/block}