{* * $Revision: 16827 $ * Read this before changing templates! http://codex.gallery2.org/Gallery2:Editing_Templates *}

{g->text text="Edit comment"}

{if isset($form.action.preview)}

{g->text text="Comment Preview"}

{$form.subject|markup}

{$form.comment|markup}
{/if}
{g->hiddenFormVars}

{g->text text="Commenter"} {g->text text="(required)"}

{if $EditComment.isGuestComment}

{g->text text="Name"}

{/if} {if isset($form.error.commenterName.missing)}
{g->text text="You must enter a username."}
{/if} {if isset($form.error.commenterName.invalid)}
{g->text text="The username you entered is invalid."}
{/if}

{g->text text="Host"}

{g->text text="Subject"}

{include file="gallery:modules/core/templates/MarkupBar.tpl" viewL10domain="modules_core" element="subject" firstMarkupBar=true}

{g->text text="Comment"} {g->text text="(required)"}

{include file="gallery:modules/core/templates/MarkupBar.tpl" viewL10domain="modules_core" element="comment"} {if isset($form.error.comment.missing)}
{g->text text="You must enter a comment"}
{/if}

{g->text text="Publish Status"}