Skip to content

Commit d7c0fdb

Browse files
committed
Add trash icon for 'Delete post' button
1 parent 1e0b3d6 commit d7c0fdb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
{{ include('blog/_delete_post_confirmation.html.twig') }}
22
<form action="{{ url('admin_post_delete', {id: post.id}) }}" method="post" data-confirmation="true" id="delete-form">
33
<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" />
4+
<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>
58
</form>

0 commit comments

Comments
 (0)