add_GET(formValues) {

    let pageErrors = this.req.flash('pageErrors');
    this.renderTemplate('team-form', {
      titleKey: this.actions[this.action].titleKey,
      pageErrors: this.isPreview ? undefined : pageErrors,
      formValues,
      isPreview: this.isPreview,
      scripts: [getJS('editor')]
    }, {
      messages: getEditorMessages(this.req.locale)
    });
  }
// For incomplete submissions, pass formValues so form can be pre-populated.
For incomplete submissions, pass formValues so form can be pre-populated.
For incomplete submissions pass formValues so form can be pre - populated .
add_GET(formValues) {
    let pageErrors = this.req.flash('pageErrors');
    this.renderTemplate('team-form', {
      titleKey: this.actions[this.action].titleKey,
      pageErrors: this.isPreview ? undefined : pageErrors,
      formValues,
      isPreview: this.isPreview,
      scripts: [getJS('editor')]
    }, {
      messages: getEditorMessages(this.req.locale)
    });
  }
add_GET ( formValues ) { let pageErrors = this . req . flash ( 'pageErrors' ) ; this . renderTemplate ( 'team-form' , { titleKey : this . actions [ this . action ] . titleKey , pageErrors : this . isPreview ? undefined : pageErrors , formValues , isPreview : this . isPreview , scripts : [ getJS ( 'editor' ) ] } , { messages : getEditorMessages ( this . req . locale ) } ) ; }
For incomplete submissions, pass formValues so form can be pre-populated.
For incomplete submissions pass formValues so form can be pre - populated .