public static function addForm($settings = [])
    {
        $form = self::createElement('form');

        if (array_get($settings, 'file_upload')) {
            $form->addElement('input')->type('hidden')->name('MAX_FILE_SIZE')->value(self::getFileUploadMaxSize());
        }

        return $form;
    }