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

View file

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