{# vim: set ts=2 et sts=2 sw=2: #} {% extends "users/base.html" %} {% from "users/includes/macros.html" import login_form %} {% if account %} {% set title = _('Account successfully verified!') %} {% else %} {% set title = _('Something is wrong') %} {% endif %} {% set classes = 'register' %} {% block content %}

{{ title }}

{% if account %}

{% trans %} You've confirmed your email address and activated your account! You can now log in, and go edit your profile.{% endtrans %}

{% if questions %}

{{ ngettext('Your question is now visible on the site!', 'Your questions are now visible on the site!', questions.count()) }}

{% endif %} {{ login_form(form, csrf=csrf()) }} {% else %}

{% trans %}We could not activate your account. Please make sure that you have clicked the correct link in your email or typed in the correct address.{% endtrans %}

{% endif %}
{% endblock content %}