#if(${DisplayForm})
#if($GroupList.Count > 0)
#foreach($GroupItem in $GroupList)
#set($GroupFieldList = ${xf.ViewSearchFieldList($FieldList,$GroupItem)})
#if($GroupFieldList.Count > 0)
#end
#end
#end
#if(${xf.ViewSetting("PowerForms_ImageCaptcha_Enable",false)})
#end
#if($Module.Settings_HoneypotField_Enable)
#end
#if($Module.Settings_Recaptcha_Enable)
#end
#if($ErrorMessage != '')
$ErrorMessage
#end
${xf.ViewButton("submit_but")}
#if(${xf.ViewXmlSetting("ShowResetButton","true")} == "true")
${xf.ViewResetButton("reset_but")}
#end
#else
#if(${Module.UserId} > 0)
${xf.ViewSetting("PowerForms_PromptAlreadySubmitted","You have already submitted the form.")}
#else
${xf.ViewSetting("PowerForms_PromptNotLogged","You need to log in to submit forms.")}
#end
#end
#if(${xf.ViewSetting("PowerForms_ImageCaptcha_Enable",false)})
#end