added the form elements directly instead of trying to work around the limits of the module