Delete AUK updated

This commit is contained in:
Александр Бабкин
2022-07-13 10:09:13 +03:00
parent 12e0611c4c
commit 8e917b307f

View File

@@ -6,7 +6,7 @@
</a> </a>
@if (!count($auk->childs)) @if (!count($auk->childs))
<form class="inline-block" action="{{ route('auks.destroy', $auk->id) }}" method="POST" <form class="inline-block" action="{{ route('auks.destroy', $auk->id) }}" method="POST"
onsubmit="return confirm('{{ __('Are you sure remove AUK ') . $auk->name . '?' }}');"> onsubmit="return confirm('{{ __('Are you sure remove AUK ') . $auk->auk_name . '?' }}');">
<input type="hidden" name="_method" value="DELETE"> <input type="hidden" name="_method" value="DELETE">
<input type="hidden" name="_token" value="{{ csrf_token() }}"> <input type="hidden" name="_token" value="{{ csrf_token() }}">
<button type="submit"> <button type="submit">