{% extends "ui/templates/base/layout.html" %} {% block content %}

Add encrypted credential

{% if selected_registration %}

Add a portal credential for this registration. Secrets remain encrypted and every reveal is audited.

{% else %}

Add a firm or client credential. Secrets remain encrypted and every reveal is audited.

{% endif %}
{% if selected_registration %}
Client
{{ selected_client.client_name if selected_client else selected_registration.client_id }}
Registration
{{ selected_registration.registration_number }}
{{ selected_registration_type.name if selected_registration_type else 'Registration' }}
{% else %}
Explicit staff access
{% for u in users %}{% endfor %}
{% endif %}
{% if selected_registration %} Cancel {% else %} Cancel {% endif %}
{% if not selected_registration %} {% endif %} {% endblock %}