{% load i18n static cosinnus_tags thumbnail %} {# this expects {{ option }} in its context as parameter #} {# If we are in vote mode, we expect a ``option_formsets_dict`` context variable, which has a mapping of { option_id --> VoteForm } #} {% with form=option_formsets_dict|dict_lookup:option.id vote_counts=options_votes_dict|dict_lookup:option.id %}