public static function build($config) { $config['type'] = 'nameForm'; return NameForm::openContainer($config) . NameForm::nameForm($config) . NameForm::closeContainer($config); }
/** * * Required keys * * **textInputs:** An array of text input configurations. See Form Controls - Text Input. * * Optional keys * * **createPath:** The URL for creating an account. * * **forgotLinks:** An array of key-value pairs, where the "key" is the URL for the link, and the "value" is the text to display for the link (without punctuation). * * **showPasswordOnClick:** The name of a JavaScript event handler method - placed within "onclick" attribute. * * @param [type] $config [description] * @return [type] [description] */ public static function nameForm($config) { return NameForm::build($config); }