{$form.javascript}{literal}
{/literal}

#### {t}Add comment{/t}

{if isset($service_description)}
{t}Type{/t} | Service
{elseif isset($host_name)}
{t}Type{/t} | Host
{else}
{$form.commentType.label} | {$form.commentType.html}
{/if}
{$form.host_id.label} | {$form.host_id.html}
{if isset($service_description)}
{t}Host{/t} / {t}Service{/t} | {$host_name} / {$service_description}
{elseif isset($host_name)}
{t}Host{/t} | {$host_name}
{else}
{$form.service_id.label} | {$form.service_id.html}
{/if}
{$form.persistant.label} | {$form.persistant.html}
{$form.comment.label} | {$form.comment.html}

{if isset($form.action)} {$form.action.html} {/if}

{if isset($form.submitC)} {$form.submitC.html} {elseif isset($form.submitMC)} {$form.submitMC.html} {else} {$form.submitA.html} {/if} {$form.reset.html}

{$form.hidden}