{{ extra }} {% if 'cancel' in actions %} {% endif %} {% if 'reopen' in actions %} {% endif %} {% if 'prev' in actions %} {% endif %} {% if 'next' in actions %} {% endif %} {% if 'submit' in actions %} {% endif %} {% if 'approve' in actions %} {% endif %} {% if 'archive' in actions %} {% endif %}