{% extends "base.html" %} {% block title %}Create Customer Account{% endblock %} {% block content %}

Create Customer Account

Enter the customer's details and set their login credentials. The account will be active immediately.

{{ form.hidden_tag() }}
{{ form.full_name.label(class="form-label fw-semibold") }} {{ form.full_name(class="form-control" + (" is-invalid" if form.full_name.errors else ""), placeholder="e.g. Jane Smith", autofocus=true) }} {% for error in form.full_name.errors %}
{{ error }}
{% endfor %}
{{ form.email.label(class="form-label fw-semibold") }} {{ form.email(class="form-control" + (" is-invalid" if form.email.errors else ""), placeholder="jane@example.com") }} {% for error in form.email.errors %}
{{ error }}
{% endfor %}
{{ form.username.label(class="form-label fw-semibold") }} {{ form.username(class="form-control" + (" is-invalid" if form.username.errors else ""), placeholder="e.g. jsmith") }} {% for error in form.username.errors %}
{{ error }}
{% endfor %}
Used to log in. Lowercase letters, numbers, dots, hyphens, and underscores only.
{{ form.password.label(class="form-label fw-semibold") }} {{ form.password(class="form-control" + (" is-invalid" if form.password.errors else ""), autocomplete="new-password") }} {% for error in form.password.errors %}
{{ error }}
{% endfor %}
Minimum 8 characters.
{{ form.confirm_password.label(class="form-label fw-semibold") }} {{ form.confirm_password(class="form-control" + (" is-invalid" if form.confirm_password.errors else ""), autocomplete="new-password") }} {% for error in form.confirm_password.errors %}
{{ error }}
{% endfor %}
Cancel

What happens next:

  1. The account is created immediately and the customer can log in right away.
  2. A welcome email is sent to the customer with a link to the login page.
  3. Assign the customer to Contracts or Facilities from their profile page.
{% endblock %}