{extends "idf/wiki/base.html"} {block docclass}yui-t2{/block} {block body} {if $form.errors}

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

{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.summary.help_text}
{$form.f.file.labelTag}: {if $form.f.file.errors}{$form.f.file.fieldErrors}{/if} {$form.f.file|unsafe}
{$form.f.comment.labelTag}: {if $form.f.comment.errors}{$form.f.comment.fieldErrors}{/if} {$form.f.comment|unsafe}
{$form.f.comment.help_text}
  {* float left is a fix for Firefox < 3.5 *} | {trans 'Cancel'}{if $isOwner or $isAdmin or $isMember} {aurl 'url', 'IDF_Views_Wiki::deleteResource', array($project.shortname, $resource.id)} {trans 'Trash'} {trans 'Delete this resource'}{/if}
{/block}