{if $plugin_contactform_articleformat}

{$plugin_contactform_name}

{/if} {if $is_contactform_error}
{$plugin_contactform_error}
{foreach from=$comments_messagestack item="message"}
{$message}
{/foreach} {/if} {if (empty($is_contactform_sent))}
{$plugin_contactform_preface}
{/if} {if $is_contactform_sent}
{$plugin_contactform_sent}
{else}
{foreach name="field" from=$commentform_dynamicfields item="field"} {if $field.type == "hidden"} {/if} {/foreach}
{$plugin_contactform_pagetitle}
{foreach name="field" from=$commentform_dynamicfields item="field"} {if $field.type != "hidden"}
{if $field.required}*{/if}
{if $field.type == "checkbox"} {elseif $field.type == "radio"} {foreach name="radio_option" from=$field.options item="option"} {/foreach} {elseif $field.type == "select"} {elseif $field.type == "password"} {elseif $field.type == "textarea"} {else} {/if}
{/if} {/foreach}
 
{serendipity_hookPlugin hook="frontend_comment" data=$commentform_entry}
 
{/if} {if $plugin_contactform_articleformat}
{/if}