## -*- coding: utf-8 -*- <%! from pylons.i18n.translation import set_lang, get_lang %>
${_("The username or password you entered is incorrect.")}
% endif <% messages = h.flash.pop_messages() if not messages and hasattr(c, 'form') and 'csrf_token' in c.form.errors: message = c.form.errors.pop('csrf_token')[0] msg = h.Msg('error', message) messages.append(msg) %> % if messages:${messages[0]}
% endif ${h.form(url('/login', came_from=c.came_from, __logins=c.login_counter), id='loginform', method='post')} ${h.end_form()}${u', '.join([unicode(ferr) for ferr in c.form.email.errors])}
% endif${_("Forgotten your password? Enter your e-mail address below, and we'll e-mail instructions on setting a new one.")}