{% extends "gateways/base.html" %} {% load i18n %} {% block title %}{% if adding %}{% translate "Add customer" %}{% else %}{% translate "Rename" %}{% endif %} – Rivet{% endblock %} {% block content %}

{% if adding %}{% translate "Add customer" %}{% else %}{% blocktranslate trimmed with name=customer.name %}Rename “{{ name }}”{% endblocktranslate %}{% endif %}

{% if adding %}

{% blocktranslate trimmed with domain=zone.domain %}The customer's portal will be at <address>.{{ domain }}.{% endblocktranslate %}

{% url 'portal-home' as cancel %} {% else %}{% url 'customer-detail' customer.id as cancel %}{% endif %} {% translate "Save" as submit_label %}{% include "operator/_form.html" with submit=submit_label %}
{% endblock %}