{% if corp_app.authentication_method == 'secret_code' %}

{% trans 'The secret code' %}:
{{ corp_membership.corp_profile.secret_code }}

{% elif corp_app.authentication_method == 'email' %}

{% blocktrans %} The Authorized E-mail Domain:
(The authorized e-mail domain will authenticate prospective members as they apply for membership under this corporation)
{% endblocktrans %} {% for domain in corp_membership.corp_profile.authorized_domains.all %} {{ domain.name }}{% if not forloop.last %}, {% endif %} {% endfor %}

{% endif %}