13th ns info alert

This commit is contained in:
Rachid Mrad 2025-03-06 14:53:59 -05:00
parent ed3e8a3d49
commit a1e6c74a70
No known key found for this signature in database

View file

@ -6,6 +6,16 @@
{% block domain_content %}
{# this is right after the messages block in the parent template #}
{% if formset.total_form_count >= formset.max_num %}
<div class="usa-alert usa-alert--info usa-alert--slim">
<div class="usa-alert__body">
<p class="usa-alert__text">
Youve reached the maximum amount of allowed name server records (13).
</p>
</div>
</div>
{% endif %}
{% for form in formset %}
{% include "includes/form_errors.html" with form=form %}
{% endfor %}