move required fields display in ds data and nameservers

This commit is contained in:
David Kennedy 2025-03-19 07:27:58 -04:00
parent 443abedd74
commit c375656f9d
No known key found for this signature in database
GPG key ID: 6528A5386E66B96B
2 changed files with 100 additions and 97 deletions

View file

@ -274,8 +274,9 @@
DS records defined on the domain.
{% endcomment %}
<section class="add-dsdata-form display-none section-outlined">
<div class="add-dsdata-form display-none">
{% include "includes/required_fields.html" %}
<section class="section-outlined">
<form class="usa-form usa-form--extra-large" method="post" novalidate>
<h2>Add DS record</h2>
{% csrf_token %}
@ -332,6 +333,7 @@
</div>
</form>
</section>
</div>
{% endif %}
<a

View file

@ -240,9 +240,9 @@
This section renders Add New Nameservers form which renders when there are no existing
nameservers defined on the domain.
{% endcomment %}
<section class="add-nameservers-form display-none section-outlined">
<div class="add-nameservers-form display-none">
{% include "includes/required_fields.html" %}
<section class="section-outlined">
<form class="usa-form usa-form--extra-large" method="post" novalidate>
<h2>Add name servers</h2>
{% csrf_token %}
@ -291,6 +291,7 @@
</form>
</section>
</div>
{% endif %}