AUK ready

This commit is contained in:
Александр Бабкин
2022-07-04 16:04:58 +03:00
parent 621b1fd677
commit 240351d832
15 changed files with 458 additions and 14 deletions

View File

@@ -0,0 +1,16 @@
{{-- <a href="{{ route('auks.show',$auk->id) }}">
<i class="fa fa-eye text-green-500 hover:text-green-700 px-2 text-lg"></i>
</a> --}}
<a href="{{ route('auks.edit', $auk->id) }}">
<i class="fa fa-edit text-blue-500 hover:text-blue-700 px-2 text-lg"></i>
</a>
@if (!count($auk->childs))
<form class="inline-block" action="{{ route('auks.destroy', $auk->id) }}" method="POST"
onsubmit="return confirm('{{ __('Are you sure remove AUK ') . $auk->name . '?' }}');">
<input type="hidden" name="_method" value="DELETE">
<input type="hidden" name="_token" value="{{ csrf_token() }}">
<button type="submit">
<i class="fa fa-trash text-red-500 hover:text-red-700 px-2 text-lg"></i>
</button>
</form>
@endif