[Poll] Added templates, response counting

This commit is contained in:
Daniel
2020-11-08 16:36:06 +00:00
committed by Hugo Sales
parent 27a0c43f7b
commit cdbf7da8be
11 changed files with 187 additions and 45 deletions

View File

@@ -38,6 +38,6 @@ class ShowPoll
throw new NoSuchPollException(); //?
}
return ['_template' => 'base.html.twig'];
return ['_template' => 'Poll/showpoll.html.twig', 'poll' => $poll];
}
}