A very easy way to do this would be
{{ form_widget(form.terms, { 'label': 'I accept the <a href="'~path('route_to_terms')~'">terms and conditions</a>' }) }}
You can also do this if you want to use the translation.
In your translation file, for example message.en.yml add
terms: url: 'I accept the <a href="%url%">terms and conditions</a>'
And, in your opinion, add
{{ form_widget(form.terms, { 'label': 'terms.url'|trans({'%url%': path('route_to_terms')}) }) }}
source share