flash('Přichází příliš mnoho registrací najednou, zkuste to prosím za chvíli znovu.','danger')
elifreg1.status==RegStatus.already_exists:
form.email.errors.append('Účet s touto adresou už existuje.')
form.email.errors.append('Účet s touto adresou už existuje.'+Markup('<a href="'+html.escape(url_for('login',email=form.email.data))+'">Příhlásit se.</a>'))
elifreg1.status==RegStatus.wrong_captcha:
form.captcha.errors.append('Chybný výsledek. Zkuste to znovu: '+reg1.captcha_task())