nomilo/templates/pages/delete_record.html
2026-07-01 01:12:30 +02:00

28 lines
901 B
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{%- extends "bases/app.html" -%}
{%- block title -%}
{{ tr(msg="delete-record-configuration-" ~ record_config ~"-title") }} {{ current_zone }}
{% endblock -%}
{% block main %}
<h1>{{ tr(msg="delete-record-config-" ~ record_config ~ "-heading", name=record_name) }}</h1>
{%- set relative_name = record_name | trim_end(pat=current_zone) | trim_end(pat=".") -%}
<div class="records">
{{ <dns.config
records={records}
name={relative_name}
fqdn={record_name}
actions={false}
orphan={true}
lang={lang}
/> }}
</div>
<form method="post" action="">
<div class="form-action">
<a class="button secondary" href="/zones/{{ current_zone }}/records">{{ tr(msg="delete-record-cancel-button") }}</a>
<button type="submit" class="primary">{{ tr(msg="delete-record-confirm-button") }}</button>
</div>
</form>
{% endblock %}