diff --git a/base/templates/base/audit_tag/audit_tag_form.html b/base/templates/base/audit_tag/audit_tag_form.html index 885329cf7..3145c2392 100644 --- a/base/templates/base/audit_tag/audit_tag_form.html +++ b/base/templates/base/audit_tag/audit_tag_form.html @@ -1,31 +1,57 @@ {% load i18n %} -{% if form.errors %} - -
-
- {% for error in form.non_field_errors %} -
- {{ error }} -
- {% endfor %} +
+

+ {% if tag_id %} + {% trans "Audit Tag Update" %} + {% else %} + {% trans "Create Audit Tag" %} + {% endif %} +

+ +
+
+ {% if form.errors %} + +
+
+ {% for error in form.non_field_errors %} +
+ {{ error }} +
+ {% endfor %} +
+
+ {% endif %} +
+ {% csrf_token %} +
+ + {{form.title}} + {{form.title.errors}} +
+
+ +
+ {{form.highlight}} + {{form.highlight.errors}}
-{% endif %} - - {% csrf_token %} - {{form.as_p}} - -
+ + +
diff --git a/base/templates/base/company/company_form.html b/base/templates/base/company/company_form.html index 15d388099..b1561333d 100644 --- a/base/templates/base/company/company_form.html +++ b/base/templates/base/company/company_form.html @@ -6,8 +6,8 @@ hx-post="{% url 'company-create' %}" {% endif %} hx-target="#companyForm" - method="post" hx-encoding="multipart/form-data" + class="oh-profile-section" > {% csrf_token %}
@@ -16,8 +16,10 @@ {{form.company}} {{form.company.errors}}
- - {{form.hq}} +
+ + {{form.hq}} +
@@ -54,12 +56,11 @@ {{form.icon}} {{form.icon.errors}}
-
-
-