private final List<FormField> formFields;
public BrandingCapabilityDescriptor() {
formFields = Lists.<FormField>newArrayList(
new CheckboxFormField(
BrandingCapabilityConfiguration.HEADER_ENABLED,
messages.headerEnabledLabel(),
messages.headerEnabledHelp(),
FormField.OPTIONAL
).withInitialValue(true),
new TextAreaFormField(
BrandingCapabilityConfiguration.HEADER_HTML,
messages.headerHtmlLabel(),
messages.headerHtmlHelp(),
FormField.OPTIONAL
),
new CheckboxFormField(
BrandingCapabilityConfiguration.FOOTER_ENABLED,
messages.footerEnabledLabel(),
messages.footerEnabledHelp(),
FormField.OPTIONAL
).withInitialValue(true),