<#if form.mode == "view">
<#if field.mandatory && !(field.value?is_number) && field.value == ""> ${field.label?html}: <#if field.value?is_number>${field.value?c}<#elseif field.value == ""> ${msg("form.control.novalue")}<#else>${field.value?html}
<#else> style="${field.control.params.style}" <#if field.value?is_number>value="${field.value?c}"<#else>value="${field.value?html}" <#if field.description??>title="${field.description}" <#if field.control.params.maxLength??>maxlength="${field.control.params.maxLength}" <#if field.control.params.size??>size="${field.control.params.size}" <#if field.disabled && !(field.control.params.forceEditable?? && field.control.params.forceEditable == "true")>disabled="true" ${field.control.params.javascriptParam}="${field.control.params.javascriptParamFunc}()"/> <@formLib.renderFieldHelp field=field />