<#-- Theses Java objects can be used in this template : - form_html : the HTML code of the form - form : the form object - form_inactive : the message when the form is not active -->
<#if is_draft_saved>
#i18n{form.xpage.form.draftSaved}
<#if form_errors?? && form_errors?has_content> <#assign hasDisplayableError = false> <#list form_errors as form_error> <#if form_error.isDisplayableError> <#assign hasDisplayableError = true> <#break > <#if hasDisplayableError>
<#list form_errors as form_error> <#if form_error.isDisplayableError>

<#if form_error.url?? && form_error.url != ''> ${form_error.errorMessage!} <#if form_error.url?? && form_error.url != ''>

<#if !form_inactive?has_content> ${form_html!} <#else> ${form_inactive}