[% IF c.cobrand.sms_authentication %] [% SET username_label = loc('Your email or mobile') %] [% SET username_type = 'text' %] [% ELSE %] [% SET username_label = loc('Your email') %] [% SET username_type = 'email' %] [% END %] [% SET username_field = (name == 'username_sign_in') ? 'username' : 'username_register' ~%] [% IF field_errors.$name %]

[% field_errors.$name %]

[% END %]