From 4c3236450ec88fd58bd30ec5e281687a01286679 Mon Sep 17 00:00:00 2001 From: Ee Durbin Date: Tue, 2 Jan 2024 08:43:06 -0500 Subject: [PATCH] Re-structure and re-order sponsor information form --- sponsors/forms.py | 2 +- .../new_sponsorship_application_form.html | 129 ++++++++++-------- 2 files changed, 71 insertions(+), 60 deletions(-) diff --git a/sponsors/forms.py b/sponsors/forms.py index 6033a0b18..c6a3d0bde 100644 --- a/sponsors/forms.py +++ b/sponsors/forms.py @@ -252,7 +252,7 @@ class SponsorshipApplicationForm(forms.Form): label="State/Province/Region", max_length=64, required=False ) state_of_incorporation = forms.CharField( - label="State of incorporation", help_text="US only, If different", max_length=64, required=False + label="State of incorporation", help_text="US only, If different than mailing address", max_length=64, required=False ) postal_code = forms.CharField( label="Zip/Postal Code", max_length=64, required=False diff --git a/templates/sponsors/new_sponsorship_application_form.html b/templates/sponsors/new_sponsorship_application_form.html index 29181f80f..ddce38459 100644 --- a/templates/sponsors/new_sponsorship_application_form.html +++ b/templates/sponsors/new_sponsorship_application_form.html @@ -53,6 +53,8 @@

Submit Sponsorship Information

+

Basics

+

{% render_field form.name %} @@ -62,6 +64,33 @@

Submit Sponsorship Information

{% endif %}

+ +
+
+

+ + {% render_field form.country_of_incorporation %} + {% if form.country_of_incorporation.help_text %} +
+ {{ form.country_of_incorporation.help_text }} + {% endif %} +

+
+ +
+

+ + {% render_field form.state %} + {% if form.state_of_incorporation.help_text %} +
+ {{ form.state_of_incorporation.help_text }} + {% endif %} +

+
+
+

{% render_field form.description %} @@ -94,29 +123,34 @@

Submit Sponsorship Information

-
-
-

- - {% render_field form.country %} - {% if form.country.help_text %} -
- {{ form.country.help_text }} - {% endif %} -

-
-
-

- - {% render_field form.country_of_incorporation %} - {% if form.country_of_incorporation.help_text %} -
- {{ form.country_of_incorporation.help_text }} - {% endif %} -

-
-
+ +
+
+

+ + {% render_field form.web_logo %} + {% if form.web_logo.help_text %} +
+ {{ form.web_logo.help_text }} + {% endif %} +

+
+ +
+

+ + {% render_field form.print_logo %} + {% if form.print_logo.help_text %} +
+ {{ form.print_logo.help_text }} + {% endif %} +

+
+
+ +
+ +

Mailing and Contact

@@ -163,19 +197,7 @@

Submit Sponsorship Information

{{ form.state.help_text }} {% endif %}

-
- -
-

- - {% render_field form.state %} - {% if form.state_of_incorporation.help_text %} -
- {{ form.state_of_incorporation.help_text }} - {% endif %} -

-
+
@@ -193,11 +215,11 @@

Submit Sponsorship Information

- - {% render_field form.primary_phone %} - {% if form.primary_phone.help_text %} + + {% render_field form.country %} + {% if form.country.help_text %}
- {{ form.primary_phone.help_text }} + {{ form.country.help_text }} {% endif %}

@@ -205,25 +227,14 @@

Submit Sponsorship Information

-

- - {% render_field form.web_logo %} - {% if form.web_logo.help_text %} -
- {{ form.web_logo.help_text }} - {% endif %} -

-
- -
-

- - {% render_field form.print_logo %} - {% if form.print_logo.help_text %} -
- {{ form.print_logo.help_text }} - {% endif %} -

+

+ + {% render_field form.primary_phone %} + {% if form.primary_phone.help_text %} +
+ {{ form.primary_phone.help_text }} + {% endif %} +