23 lines
776 B
HTML
23 lines
776 B
HTML
{%- extends "bases/app.html" -%}
|
||
|
||
{%- import "macros/icons.html" as icons -%}
|
||
{%- import "macros/form.html" as form -%}
|
||
|
||
{%- block title -%}{{ tr(msg="new-record-title", lang=lang) }} – {{ current_zone }} ‑ {%- endblock title -%}
|
||
|
||
{%- block main -%}
|
||
<h1>{{ tr(msg="record-creation-process-heading", zone=current_zone, lang=lang) }}</h1>
|
||
|
||
{{ errors | json_encode(pretty=true) }}
|
||
|
||
{%- set domain_error = errors | get(key="/name", default="") -%}
|
||
|
||
{%- if not new_record_name or (new_record_name and domain_error) -%}
|
||
{%- include "pages/new_record/choose_name.html" -%}
|
||
{%- elif not config and not rtype -%}
|
||
{%- include "pages/new_record/choose_record.html" -%}
|
||
{%- else -%}
|
||
{%- include "pages/new_record/configure_record.html" -%}
|
||
{%- endif -%}
|
||
|
||
{%- endblock -%}
|