{% extends "base.html" %}

{% block title %}
{% trans %}Sign up{% endtrans %}
{% endblock %}

{% block subtitle %}
{{ domain }}
{% endblock %}

{% block content %}
<form class="form" method="post" role="form">
  {{ form.hidden_tag() }}
  {% call macros.box() %}
  {{ macros.form_field(form.localpart, append='<span class="input-group-addon">@'+domain.name+'</span>') }}
  {{ macros.form_fields((form.pw, form.pw2)) }}
  {% if form.captcha %}
    {{ macros.form_field(form.captcha) }}
  {% endif %}
  {{ macros.form_field(form.submit) }}
  {% endcall %}
</form>
{% endblock %}
