Update _action

This commit is contained in:
daeng.deni@dharma.or.id 2023-06-06 21:31:27 +07:00
parent a852b85945
commit 3ad5f82956
3 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
$route = explode('.', Route::currentRouteName());
@endphp
<div class="d-flex flex-row flex-center">
<a href="{{ route($route[0].'.'.$route[1].'.edit',['blood' => $model->id]) }}"
<a href="{{ route($route[0].'.'.$route[1].'.edit',[$route[1] => $model->id]) }}"
class="kt_edit_form btn btn-icon btn-bg-light btn-active-light-primary btn-sm me-1">
{!! getIcon("pencil", "fs-1 text-info","duotune") !!}
</a>

View File

@ -2,7 +2,7 @@
$route = explode('.', Route::currentRouteName());
@endphp
<div class="d-flex flex-row flex-center">
<a href="{{ route($route[0].'.'.$route[1].'.edit',['gender' => $model->id]) }}"
<a href="{{ route($route[0].'.'.$route[1].'.edit',[$route[1] => $model->id]) }}"
class="kt_edit_form btn btn-icon btn-bg-light btn-active-light-primary btn-sm me-1">
{!! getIcon("pencil", "fs-1 text-info","duotune") !!}
</a>

View File

@ -4,7 +4,7 @@
<div class="d-flex flex-row flex-center">
<a href="{{ route($route[0].'.'.$route[1].'.edit',[$route[1] => $model->id]) }}"
class="kt_edit_form btn btn-icon btn-bg-light btn-active-light-primary btn-sm me-1">
{!! getIcon("pencil", "fs-1 text-info","duotune") !!}
{!! getIcon("pencil", "fs-1 text-info","duotune") !!} {{ pwd() }}
</a>
{!! Form::open(['method' => 'DELETE','route' => [$route[0].'.'.$route[1].'.destroy', $model->id],'class'=>'']) !!}