Skip to content

Commit db98a4e

Browse files
ycerutojaviereguiluz
authored andcommitted
check the show_confirmation_message value
1 parent 86d4f1c commit db98a4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Resources/views/admin/blog/_form.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
{{ form_start(form, { attr: { novalidate: 'novalidate' } }) }}
77
#}
88

9-
{% if show_confirmation_message is defined %}
9+
{% if show_confirmation_message is defined and show_confirmation_message == true %}
1010
{% set attr = {'data-confirmation-message': 'action.delete_post_confirmation'|trans} %}
1111
{% endif %}
1212

0 commit comments

Comments
 (0)