[#assign showLabel = input.showLabel && input.label?has_content && (layoutMode == "edit" || input.readOnly) inputLabel = htmlUtil.escape(input.label) readonlyLabel = inputLabel + " (" + languageUtil.get(locale, "read-only") + ")" ] [#if input.readOnly] [#assign inputLabel = readonlyLabel] [/#if] [@liferay_aui.style] .cke-height { height: 200px } [/@]
[#if layoutMode == "edit"] [@liferay_editor["resources"]editorName="ckeditor" /]
Styles
[#else]
[@liferay_editor["editor"] contents=input.value editorName="ckeditor" name=fragmentEntryLinkNamespace + "-" + input.name placeholder=inputLabel required=input.required /]
[#if !input.localizable && input.attributes.unlocalizedFieldsMessage??] [/#if]
[/#if] [#if input.errorMessage?has_content]

${input.errorMessage}

[/#if] [#if input.showHelpText && input.helpText?has_content]

${htmlUtil.escape(input.helpText)}

[/#if]