We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1e0b3d6 + d7c0fdb commit aba6eb2Copy full SHA for aba6eb2
app/Resources/views/admin/blog/_delete_form.html.twig
@@ -1,5 +1,8 @@
1
{{ include('blog/_delete_post_confirmation.html.twig') }}
2
<form action="{{ url('admin_post_delete', {id: post.id}) }}" method="post" data-confirmation="true" id="delete-form">
3
<input type="hidden" name="token" value="{{ csrf_token('delete') }}" />
4
- <input type="submit" value="{{ 'action.delete_post'|trans }}" class="btn btn-lg btn-block btn-danger" />
+ <button type="submit" class="btn btn-lg btn-block btn-danger">
5
+ <i class="fa fa-trash" aria-hidden="true"></i>
6
+ {{ 'action.delete_post'|trans }}
7
+ </button>
8
</form>
0 commit comments