[% IF c.user.phone_verified OR (c.user.phone AND NOT verifying); SET title = loc('Change phone number'); ELSIF c.user.phone; SET title = loc('Verify phone number'); ELSE; SET title = loc('Add phone number'); END -%] [% INCLUDE 'header.html' bodyclass = 'authpage' %]

[% title %]

[% IF c.req.args.0 == 'success' %]

[% loc('You have successfully confirmed your phone number.') %]

[% END %] [% IF c.user.phone_verified OR (c.user.phone AND NOT verifying) %] [% loc('Your phone number') %]: [% c.user.phone_display %] [% ELSIF c.user.phone %] [% DEFAULT username = c.user.phone_display %] [% END %]
[% loc_username_error = INCLUDE 'auth/_username_error.html' default='phone' %] [% IF loc_username_error %]
[% loc_username_error %]
[% END %]
[% INCLUDE 'footer.html' %]