Support multiple proposal types.

This commit is contained in:
Brett Smith 2018-10-05 16:46:43 -04:00
parent e472ddff2c
commit 61f32ef0e0
2 changed files with 2 additions and 1 deletions

View file

@ -290,6 +290,7 @@ AUTHENTICATION_BACKENDS = [
CONFERENCE_ID = 1
PROPOSAL_FORMS = {
"talk": "pinaxcon.proposals.forms.TalkProposalForm",
"discussion": "pinaxcon.proposals.forms.TalkProposalForm",
}
PINAX_PAGES_HOOKSET = "pinaxcon.hooks.PinaxPagesHookSet"
PINAX_BOXES_HOOKSET = "pinaxcon.hooks.PinaxBoxesHookSet"

View file

@ -43,7 +43,7 @@
<a href="{% url "speaker_edit" %}" class="btn btn-xs btn-default">
<i class="fa fa-pencil"></i> Edit your speaker profile
</a>
<a href="/proposals/submit/talk" class="btn btn-xs btn-default">
<a href="/proposals/submit" class="btn btn-xs btn-default">
<i class="fa fa-plus-sign"></i> Submit a new proposal
</a>
{% endif %}