code: private FormLayout initForm() {
  
          FormLayout form = new FormLayout();
          form.setWidth("100%");
          m_dateField = new CmsDateField();
          m_dateField.setCaption(
              CmsVaadinUtils.getMessageText(org.opencms.workplace.commons.Messages.GUI_LABEL_DATE_PUBLISH_SCHEDULED_0));
          form.addComponent(m_dateField);
          m_includeSubResources = new CheckBox(
              CmsVaadinUtils.getMessageText(org.opencms.workplace.commons.Messages.GUI_PUBLISH_MULTI_SUBRESOURCES_0));
          if (hasFolders()) {
              form.addComponent(m_includeSubResources);
          }
  
          return form;
      }
docs: Initializes the form fields.<p>
  
  @return the form component