[Poll] Restructured templates, added misssing poll related css

This commit is contained in:
Daniel
2020-11-23 15:06:23 +00:00
committed by Hugo Sales
parent 168b7d313a
commit 696ebe60e0
15 changed files with 122 additions and 197 deletions

View File

@@ -69,7 +69,7 @@ class AnswerPoll
$question = $poll->getQuestion();
$opts = $poll->getOptionsArr();
$form = PollResponseForm::make($opts);
$form = PollResponseForm::make($poll, $poll->getNoteId());
$form->handleRequest($request);
if ($form->isSubmitted()) {
if ($form->isValid()) {