%namespace name="components" file="/components.html"/> <%namespace name="sso" file="/sso.html"/> <% login_types = h.allowed_login_types() if 'username+password' in login_types and 'email+password' in login_types: field_title = _('Email or username:') field_type = 'text' else: field_title = _('Login:') field_type = 'text' if 'email+password' in login_types and \ 'username+password' not in login_types: field_title = _('Email:') field_type = 'email' %>