election_day.views.manage.votes
Functions
|
View a list of all votes. |
|
Create a new vote. |
|
Edit an existing vote. |
|
Clear the results of a vote. |
|
Deletes alls SVGs and PDFs of this vote. |
|
Delete an existing vote. |
|
Trigger the notifications related to a vote. |
Module Contents
- election_day.views.manage.votes.view_votes(self: onegov.election_day.collections.VoteCollection, request: onegov.election_day.request.ElectionDayRequest) onegov.core.types.RenderData [source]
View a list of all votes.
- election_day.views.manage.votes.create_vote(self: onegov.election_day.collections.VoteCollection, request: onegov.election_day.request.ElectionDayRequest, form: onegov.election_day.forms.VoteForm) RenderData | Response [source]
Create a new vote.
- election_day.views.manage.votes.edit_vote(self: onegov.election_day.models.Vote, request: onegov.election_day.request.ElectionDayRequest, form: onegov.election_day.forms.VoteForm) RenderData | Response [source]
Edit an existing vote.
- election_day.views.manage.votes.clear_vote(self: onegov.election_day.models.Vote, request: onegov.election_day.request.ElectionDayRequest, form: onegov.election_day.forms.ClearResultsForm) RenderData | Response [source]
Clear the results of a vote.
- election_day.views.manage.votes.clear_election_media(self: onegov.election_day.models.Vote, request: onegov.election_day.request.ElectionDayRequest, form: onegov.election_day.forms.EmptyForm) RenderData | Response [source]
Deletes alls SVGs and PDFs of this vote.