2025-03-31 00:16:10 +00:00
|
|
|
|
{% extends "bases/app.html" %}
|
2025-04-30 08:38:03 +00:00
|
|
|
|
{% import "macros/new_rrset.html" as new_rrset %}
|
2025-06-10 13:25:36 +00:00
|
|
|
|
{% block title %}{{ tr(msg="new-record-title", lang=lang) }} – {{ current_zone }} ‑ {% endblock title %}
|
2025-03-31 00:16:10 +00:00
|
|
|
|
|
|
|
|
|
{% block main %}
|
2025-06-10 13:25:36 +00:00
|
|
|
|
<h1>{{ tr(msg="record-creation-process-heading", zone=current_zone, lang=lang) }}</h1>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{% set domain_error = errors | get(key="/name", default="") %}
|
|
|
|
|
|
|
|
|
|
{{ domain_error | json_encode(pretty=true) }}
|
2025-03-31 00:16:10 +00:00
|
|
|
|
{% if not new_record_name or (new_record_name and domain_error) %}
|
2025-05-11 11:40:35 +00:00
|
|
|
|
{% include "pages/new_record/choose_name.html" %}
|
2025-03-31 00:16:10 +00:00
|
|
|
|
{% elif not config and not rtype %}
|
2025-05-11 11:40:35 +00:00
|
|
|
|
{% include "pages/new_record/choose_record.html" %}
|
2025-03-31 00:16:10 +00:00
|
|
|
|
{% else %}
|
2025-05-11 11:40:35 +00:00
|
|
|
|
{% include "pages/new_record/configure_record.html" %}
|
2025-03-31 00:16:10 +00:00
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
|
|
{% endblock %}
|