{% load i18n %} {% comment %} USAGE: {% include 'govuk-frontend/components/warning-text.html' with text= only %} optional parameters: accessible_label - to use instead of "Warning" extra_text - more text to add to the block {% endcomment %}
{{ accessible_label|default:_('Warning') }} {{ text }} {% if extra_text %}
{{ extra_text }}
{% endif %}