1 {# Test the url and path twig functions #}
2 <div>path (as route) not absolute: {{ path('user.register') }}</div>
3 <div>url (as route) absolute: {{ url('user.register') }}</div>
5 <div>path (as route) not absolute with fragment: {{ path('user.register', {}, {'fragment': 'bottom' }) }}</div>
6 <div>url (as route) absolute despite option: {{ url('user.register', {}, {'absolute': false }) }}</div>
7 <div>url (as route) absolute with fragment: {{ url('user.register', {}, {'fragment': 'bottom' }) }}</div>