Skip to content

Commit

Permalink
Merge c088461 into d84f748
Browse files Browse the repository at this point in the history
  • Loading branch information
palnabarun committed Jun 17, 2020
2 parents d84f748 + c088461 commit 3d8e1a3
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions junction/proposals/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ class ProposalForm(forms.Form):
widget=PagedownWidget(show_preview=True), help_text=("Describe your Proposal")
)
target_audience = forms.ChoiceField(
label="Target Audience",
choices=ProposalTargetAudience.CHOICES,
widget=forms.Select(attrs={"class": "dropdown"}),
)
Expand All @@ -103,33 +104,40 @@ class ProposalForm(forms.Form):
" Make the proposal PUBLIC when you're done editing."
),
)
proposal_type = forms.ChoiceField(widget=forms.Select(attrs={"class": "dropdown"}))
proposal_type = forms.ChoiceField(
label="Proposal Type", widget=forms.Select(attrs={"class": "dropdown"})
)
proposal_section = forms.ChoiceField(
widget=forms.Select(attrs={"class": "dropdown"})
label="Proposal Section", widget=forms.Select(attrs={"class": "dropdown"})
)

# Additional Content
prerequisites = forms.CharField(
label="Pre-requisites",
widget=PagedownWidget(show_preview=True),
required=False,
help_text="What should the participants know before attending your session?",
)
video_url = forms.CharField(
label="Video URL",
required=False,
help_text="Short 1-2 min video describing your talk",
widget=forms.TextInput(attrs={"class": "charfield"}),
)
content_urls = forms.CharField(
label="Content URLs",
widget=PagedownWidget(show_preview=True),
required=False,
help_text="Links to your session like GitHub repo, Blog, Slideshare etc ...",
)
speaker_info = forms.CharField(
label="Speaker Information",
widget=PagedownWidget(show_preview=True),
required=False,
help_text="Say something about yourself, work etc...",
)
speaker_links = forms.CharField(
label="Speaker Links",
widget=PagedownWidget(show_preview=True),
required=False,
help_text="Links to your previous work like Blog, Open Source Contributions etc ...",
Expand Down

0 comments on commit 3d8e1a3

Please sign in to comment.