mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-30 01:10:04 +02:00
Show and Hide Questions Dynamically (#212)
* Show and hide form questions dynamically * Respond to PR feedback * Remove debugger tags
This commit is contained in:
parent
d218033538
commit
d8ae0d9753
9 changed files with 362 additions and 10 deletions
|
@ -42,6 +42,23 @@ class OrganizationForm(forms.Form):
|
|||
],
|
||||
widget=forms.RadioSelect,
|
||||
)
|
||||
federal_type = forms.ChoiceField(
|
||||
required=False,
|
||||
choices=[
|
||||
("Executive", "Executive"),
|
||||
("Judicial", "Judicial"),
|
||||
("Legislative", "Legislative"),
|
||||
],
|
||||
widget=forms.RadioSelect,
|
||||
)
|
||||
is_election_board = forms.ChoiceField(
|
||||
required=False,
|
||||
choices=[
|
||||
("Yes", "Yes"),
|
||||
("No", "No"),
|
||||
],
|
||||
widget=forms.RadioSelect,
|
||||
)
|
||||
|
||||
|
||||
class ContactForm(forms.Form):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue