Skip to content

Commit 3d4c441

Browse files
authored
Tweak twig templates (#654)
1 parent d8f41fe commit 3d4c441

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
{% extends "@FOSOAuthServer/layout.html.twig" %}
1+
{% extends '@FOSOAuthServer/layout.html.twig' %}
22

33
{% block fos_oauth_server_content %}
4-
{% include "@FOSOAuthServer/Authorize/authorize_content.html.twig" %}
4+
{{ include('@FOSOAuthServer/Authorize/authorize_content.html.twig') }}
55
{% endblock fos_oauth_server_content %}

Resources/views/Authorize/authorize_content.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{ form_start(form, {'method': 'POST', 'action': path('fos_oauth_server_authorize'), 'label_attr': {'class': 'fos_oauth_server_authorize'} }) }}
1+
{{ form_start(form, {method: 'POST', action: path('fos_oauth_server_authorize'), label_attr: {class: 'fos_oauth_server_authorize'} }) }}
22
<input type="submit" name="accepted" value="{{ 'authorize.accept'|trans({}, 'FOSOAuthServerBundle') }}" />
33
<input type="submit" name="rejected" value="{{ 'authorize.reject'|trans({}, 'FOSOAuthServerBundle') }}" />
44

0 commit comments

Comments
 (0)