{$form.javascript}{literal} {/literal}
{if isset($service_description)} {elseif isset($host_name)} {else} {/if} {if isset($service_description)} {elseif isset($host_name)} {else} {/if}

{t}Add comment{/t}

{t}Type{/t} Service
{t}Type{/t} Host
{$form.commentType.label} {$form.commentType.html}
{$form.host_id.label} {$form.host_id.html}
{t}Host{/t} / {t}Service{/t} {$host_name} / {$service_description}
{t}Host{/t} {$host_name}
{$form.service_id.label} {$form.service_id.html}
{$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}