#IF(#FormError)
#LOCAL("UnspecifiedError",1)
#IF(#COUNT(#FormErrors.Form.LoginData.Errors))#SET("UnspecifiedError",0)#ENDIF
#LOOP(#FormErrors.Form.LoginData.Errors)
#IF(#Reason EQ "LoginFailed")
{LoginFailed}
{PleaseCorrectYourLoginDetails}
#ELSIF(#Reason EQ "InvalidMerchantToken")
{LoginFailed}
{PleaseCorrectYourToken}
#ELSIF(#Reason EQ "LoginMWSFailed")
{LoginFailed}
{PleaseCorrectErrors}
#ELSE
#SET("UnspecifiedError",1)
#ENDIF
#ENDLOOP
#IF(#UnspecifiedError)
{InputError}
{PleaseCorrectErrors}
#ENDIF