{%- set is_disabled = "" -%} {# If we are not during the active week, prevent changing vote but not sending a missing one. #} {%- if week_data.is_last_week != true and vote_data.votes | filter(attribute="truth_id", value=truth.id) -%} {%- set is_disabled = "disabled" -%} {%- endif -%}