two-factor authentication suffix code in the password

In many sites where 2FA is enabled, the login flow is:

  1. A form asking for username/password
  2. If credentials are valid a new form asks for the verification code.

However, there are some implementations in where the verification codes are suffixed into the password so the flow is only a single form asking for username and password+verification_code.

Which approach offers better security?