Opened 12 years ago
Closed 12 years ago
#19131 closed Bug (duplicate)
Error in viewing choices
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | Documentation | Version: | 1.4 |
Severity: | Normal | Keywords: | html template details.html |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
There's a bug in details.html template code. The code is {{ choice.choice }} and I wasn't able to see the choices. It showed only 2 bullets, which is correct since I have only 2 choices, but no text. I fixed it by changing it to {{ choice.choice_text }} because in models.py, the Choice has a field choice_text, and not just choice.
Change History (2)
comment:1 by , 12 years ago
comment:2 by , 12 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Duplicate of #18851
Please search for existing bugs before filing a new one, thanks.