- title="{% if answer.nis.accepted %}{% blocktrans with answer.accepted_by.username as who %}{{ who }} has selected this answer as the correct answer{% endblocktrans %}{% else %}{% trans "mark this answer as the accepted answer" %}{% endif %}"\r
- href="{% url accept_answer id=answer.id %}" rel="nofollow"> </a>\r
+ title=" {% if answer.nis.accepted %}\r
+ {% blocktrans with answer.nstate.accepted.by.username as who %}{{ who }} has selected this answer as the correct answer{% endblocktrans %}\r
+ {% else %}\r
+ {% trans "mark this answer as the accepted answer" %}\r
+ {% endif %}"\r
+ bn:on="{% blocktrans with answer.nstate.accepted.by.username as who %}{{ who }} has selected this answer as the correct answer{% endblocktrans %}"\r
+ bn:off="{% trans "mark this answer as the accepted answer" %}"\r
+ href="{% url accept_answer id=answer.id %}" rel="nofollow"> \r
+ </a>\r