Updated formPrepare helper

Updated the formPrepare helper to pass the optional form attribute to the prerenderform helper