{% load i18n determination_tags workflow_tags %} {% if request.user|show_determination_button:submission %} {% if submission.determinations.last.is_draft %} {% if draft_text %} {{ draft_text }} {% else %} {% trans "Update draft" %} {% endif %} {% else %} {% trans "Add determination" %} {% endif %} {% endif %}