Skip to content

Commit

Permalink
Change builders challenge form (#385)
Browse files Browse the repository at this point in the history
* Update Builders Challenge Form copy

* Remove mozilla-builders-application-2024

* Remove interests checkbox entirely from Builder's Challenge form

* Update changelog

---------

Co-authored-by: John Shaughnessy <[email protected]>
  • Loading branch information
stevejalim and johnshaughnessy authored May 30, 2024
1 parent 7fd3d7d commit e04f038
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 12 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ Nothing yet

Nothing yet

## [1.8.1]

### Changed

* Remove the interests option entirely from the Builder's Challenge form

## [1.8.0]

###  Added
Expand Down
13 changes: 1 addition & 12 deletions birdbox/microsite/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,24 +97,13 @@ def __init__(self, *args, **kwargs):


class BuildersChallengeForm(ContactFormBase):
interests = forms.MultipleChoiceField(
label=("What are you interested in learning more about?"),
choices=(
(
"mozilla-technology",
_("Topics like AI and machine learning, the metaverse, extended reality (XR) and the future of the web."),
),
),
widget=forms.CheckboxSelectMultiple(),
)

def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)

# no extra fields, just an email field for newsletter signups; no message sending
del self.fields["description"]

self.root_css_class = "TODO"
self.root_css_class = "c-builders-challenge"
self.form_type = "builders-form" # used to set a key class for behaviour


Expand Down

0 comments on commit e04f038

Please sign in to comment.