{% extends "ui/templates/base/layout.html" %} {% block content %} {% set is_dict = consultant is mapping %} {% set is_edit = consultant and not is_dict and consultant.id %}

{{ title }}

Create or update a consultant portal profile and optionally create the consultant login user from this page.

Back
{% if errors %}
{% endif %}

Consultant Login

Link an existing Consultant-role user or create a new login for this consultant.

{% set current_user_id = consultant.user_id if consultant and not is_dict else consultant.get('user_id') if consultant else None %}

Leave blank if you want to create a new login below.

Used only when invite link is not selected. Consultant must change password after login.

{% set current_type = consultant.consultant_type if consultant and not is_dict else consultant.get('consultant_type') if consultant else 'external_consultant' %}
{% set st = consultant.status if consultant and not is_dict else consultant.get('status') if consultant else 'active' %}
{% set os = consultant.onboarding_status if consultant and not is_dict else consultant.get('onboarding_status') if consultant else 'active' %}
Cancel
{% endblock %}