3👍
✅
You dont need {{''}}
around disabled
attribute. Just try this:
<button {% if value1 == value2 %} disabled {% endif %} type="button">Add</button>
Source:stackexchange.com