Skip to content

Commit

Permalink
fix: contact name population on delete confirmation (#5431)
Browse files Browse the repository at this point in the history
Fix bug where the contacts name is not populating the delete confirmation
  • Loading branch information
benfes authored Aug 22, 2021
1 parent f8a7cf9 commit ffd0e86
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CONTRIBUTORS
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,4 @@ Martijn van der Ven @Zegnat <martijn@vanderven.se>
Matthew Fitzgerald @mfitzgerald2 <matt@mfitz.net>
Simon Van Accoleyen @SimonVanacco <simon@vanacco.fr>
Michael Bianco <mike@mikebian.co>
Ben Fesili @benfes
2 changes: 1 addition & 1 deletion resources/views/people/profile.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
<form method="POST" action="{{ route('people.destroy', $contact) }}">
@method('DELETE')
@csrf
<confirm id="link-delete-contact" message="{{ trans('people.people_delete_confirmation') }}">
<confirm id="link-delete-contact" message="{{ trans('people.people_delete_confirmation', ['name' => $contact->name]) }}">
{{ trans('people.people_delete_message') }}
</confirm>
</form>
Expand Down

0 comments on commit ffd0e86

Please sign in to comment.