mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-16 22:44:11 +02:00
13th ns info alert
This commit is contained in:
parent
ed3e8a3d49
commit
a1e6c74a70
1 changed files with 10 additions and 0 deletions
|
@ -6,6 +6,16 @@
|
||||||
{% block domain_content %}
|
{% block domain_content %}
|
||||||
|
|
||||||
{# this is right after the messages block in the parent template #}
|
{# 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">
|
||||||
|
You’ve reached the maximum amount of allowed name server records (13).
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% for form in formset %}
|
{% for form in formset %}
|
||||||
{% include "includes/form_errors.html" with form=form %}
|
{% include "includes/form_errors.html" with form=form %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue